Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001286/0.001286, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00191/0.00191, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.702/2.702, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002024/0.002024, allocations: 65.73 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007112/0.328, allocations: 4.885 MB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5107, allocations: 154.1 MB / 1.439 GB, free: 12.2 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.5116, allocations: 27.75 kB / 1.439 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.5124, allocations: 202.1 kB / 1.439 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.5145, allocations: 0.5685 MB / 1.439 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.5168, allocations: 0.8709 MB / 1.44 GB, free: 10.54 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.5188, allocations: 1.397 MB / 1.442 GB, free: 9.137 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/0.5197, allocations: 409.9 kB / 1.442 GB, free: 8.711 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008831/0.5206, allocations: 0.4944 MB / 1.442 GB, free: 8.215 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.5214, allocations: 0.5036 MB / 1.443 GB, free: 7.711 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.5218, allocations: 116 kB / 1.443 GB, free: 7.598 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.5232, allocations: 0.5113 MB / 1.444 GB, free: 7.086 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.5236, allocations: 295 kB / 1.444 GB, free: 6.797 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.5245, allocations: 0.5558 MB / 1.444 GB, free: 6.238 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.5275, allocations: 1.665 MB / 1.446 GB, free: 4.566 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5275, allocations: 4 kB / 1.446 GB, free: 4.562 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5275, allocations: 0 / 1.446 GB, free: 4.562 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.352e-05/0.5275, allocations: 0 / 1.446 GB, free: 4.562 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003381/0.5309, allocations: 1.411 MB / 1.447 GB, free: 3.117 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.531, allocations: 8.031 kB / 1.447 GB, free: 3.109 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.5312, allocations: 131.3 kB / 1.448 GB, free: 2.973 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.5328, allocations: 228 kB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.5343, allocations: 0.7141 MB / 1.448 GB, free: 2.012 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.5344, allocations: 58 kB / 1.449 GB, free: 1.953 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5345, allocations: 84 kB / 1.449 GB, free: 1.871 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.5361, allocations: 0.8989 MB / 1.449 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5361, allocations: 0 / 1.449 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.5362, allocations: 40 kB / 1.45 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.5363, allocations: 20 kB / 1.45 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.5381, allocations: 1.097 MB / 1.451 GB, free: 15.78 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.5428, allocations: 2.616 MB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.5445, allocations: 0.7428 MB / 1.454 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.545, allocations: 274.1 kB / 1.454 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.5451, allocations: 40.53 kB / 1.454 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000982/0.5461, allocations: 495.4 kB / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 3.156e-06/0.5461, allocations: 0 / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003359/0.5495, allocations: 1.111 MB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.5496, allocations: 192.6 kB / 1.456 GB, free: 10.14 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5508, allocations: 0.645 MB / 1.457 GB, free: 9.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.5509, allocations: 49.64 kB / 1.457 GB, free: 9.426 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.5513, allocations: 397 kB / 1.457 GB, free: 9.031 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.5515, allocations: 269.7 kB / 1.457 GB, free: 8.766 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5518, allocations: 150.6 kB / 1.457 GB, free: 8.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.552, allocations: 386.7 kB / 1.458 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.5525, allocations: 241.9 kB / 1.458 GB, free: 7.992 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.5531, allocations: 358.6 kB / 1.458 GB, free: 7.613 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5543, allocations: 0.576 MB / 1.459 GB, free: 7.027 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.5543, allocations: 0 / 1.459 GB, free: 7.027 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002149/0.5564, allocations: 0.7945 MB / 1.46 GB, free: 6.219 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5564, allocations: 4 kB / 1.46 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5565, allocations: 0 / 1.46 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.5571, allocations: 88.84 kB / 1.46 GB, free: 6.125 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.5577, allocations: 147.8 kB / 1.46 GB, free: 5.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.56, allocations: 1.535 MB / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.5607, allocations: 79.58 kB / 1.461 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.5608, allocations: 27.98 kB / 1.461 GB, free: 4.223 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005442/0.5613, allocations: 269.9 kB / 1.462 GB, free: 3.949 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.5616, allocations: 91.42 kB / 1.462 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.5641, allocations: 1.05 MB / 1.463 GB, free: 2.797 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5641, allocations: 12 kB / 1.463 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5641, allocations: 0 / 1.463 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5642, allocations: 7.922 kB / 1.463 GB, free: 2.777 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.5681, allocations: 1.899 MB / 1.465 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5681, allocations: 0 / 1.465 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.5687, allocations: 143.8 kB / 1.465 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/0.5692, allocations: 72.78 kB / 1.465 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.5693, allocations: 23.98 kB / 1.465 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.5714, allocations: 1.559 MB / 1.466 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5714, allocations: 0 / 1.466 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.5738, allocations: 0.9906 MB / 1.467 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/0.5743, allocations: 195.1 kB / 1.468 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5745, allocations: 27.81 kB / 1.468 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.5751, allocations: 67.92 kB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.5753, allocations: 76.86 kB / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.5754, allocations: 27.98 kB / 1.468 GB, free: 13.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006419/0.576, allocations: 479 kB / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.576, allocations: 0 / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009103/0.5769, allocations: 315.2 kB / 1.469 GB, free: 12.73 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004235/0.5811, allocations: 2.054 MB / 1.471 GB, free: 10.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.5828, allocations: 0.7612 MB / 1.471 GB, free: 10.06 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5828, allocations: 0 / 1.471 GB, free: 10.06 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009218/0.5838, allocations: 496.1 kB / 1.472 GB, free: 9.566 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5851, allocations: 310.9 kB / 1.472 GB, free: 9.285 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5957, allocations: 6.224 MB / 1.478 GB, free: 2.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.5964, allocations: 1.016 MB / 1.479 GB, free: 1.863 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008476/0.5973, allocations: 266.7 kB / 1.479 GB, free: 1.598 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.5978, allocations: 387.3 kB / 1.48 GB, free: 1.219 MB / 1.17 GB Notification: Performance of SimCode: time 7.61e-07/0.5978, allocations: 0 / 1.48 GB, free: 1.219 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.6662, allocations: 22.24 MB / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.07, allocations: 2.75 kB / 1.502 GB, free: 11.22 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 21.66421704692766]