Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 76.45 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3667, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002729/0.3695, allocations: 1.504 MB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.3704, allocations: 0.5025 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.3704, allocations: 0 / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3704, allocations: 3.938 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.3706, allocations: 31.84 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.459e-05/0.3707, allocations: 7.984 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.3708, allocations: 55.78 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3709, allocations: 7.938 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.371, allocations: 39.84 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.3711, allocations: 19.91 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3711, allocations: 4 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3711, allocations: 4 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3712, allocations: 8 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3712, allocations: 27.84 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.3713, allocations: 35.89 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3713, allocations: 4 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3713, allocations: 0 / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.3713, allocations: 0 / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005895/0.3719, allocations: 363.3 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3719, allocations: 11.98 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.372, allocations: 34.75 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.372, allocations: 0.9375 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3722, allocations: 172.3 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3722, allocations: 8.375 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3722, allocations: 8.312 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3723, allocations: 57.8 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3723, allocations: 4 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3723, allocations: 0 / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3723, allocations: 3.938 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.3724, allocations: 15.98 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3728, allocations: 276.8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3729, allocations: 50.5 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3729, allocations: 20.8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.3729, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.3731, allocations: 63.48 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3731, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002198/0.3733, allocations: 89.56 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3734, allocations: 55.41 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3735, allocations: 113.8 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3735, allocations: 25.7 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.3735, allocations: 84.14 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3736, allocations: 15.89 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3736, allocations: 17.72 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3738, allocations: 322.8 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.3738, allocations: 12 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.3738, allocations: 8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.3739, allocations: 36.84 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3739, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001202/0.374, allocations: 65.59 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.374, allocations: 11.98 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.374, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.374, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.3741, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3741, allocations: 4.438 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.3742, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3742, allocations: 8 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.3743, allocations: 117.8 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3743, allocations: 8 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3743, allocations: 7.969 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3743, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3743, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3743, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3745, allocations: 177.5 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3745, allocations: 3.938 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.3745, allocations: 7.938 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3745, allocations: 4 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3745, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3745, allocations: 4 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3745, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3747, allocations: 97.05 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3747, allocations: 85 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3747, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.3748, allocations: 8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.3748, allocations: 11.92 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3748, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.3749, allocations: 91.58 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001874/0.3751, allocations: 8 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004852/0.3756, allocations: 0.6358 MB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3757, allocations: 32 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3757, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.3758, allocations: 23.92 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.3759, allocations: 3.984 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3772, allocations: 1.232 MB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3775, allocations: 0.6807 MB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.3775, allocations: 4 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.3776, allocations: 19.42 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3776, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.4012, allocations: 1.528 MB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.233, allocations: 9.484 kB / 1.33 GB, free: 10.02 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.849579779896885]