Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001407/0.001407, allocations: 107.9 kB / 16.45 MB, free: 6.488 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.001818/0.001818, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.071/3.071, allocations: 0.49 GB / 0.7916 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_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.002046/0.002046, allocations: 69.28 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007339/0.3284, allocations: 4.832 MB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1903/0.5187, allocations: 154 MB / 1.476 GB, free: 3.914 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009049/0.5196, allocations: 27.81 kB / 1.476 GB, free: 3.887 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000724/0.5203, allocations: 190.2 kB / 1.476 GB, free: 3.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.5224, allocations: 0.5627 MB / 1.477 GB, free: 3.137 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.5246, allocations: 0.8517 MB / 1.477 GB, free: 2.293 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.5267, allocations: 1.39 MB / 1.479 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008843/0.5275, allocations: 409.4 kB / 1.479 GB, free: 484 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009158/0.5285, allocations: 0.5023 MB / 1.48 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.5292, allocations: 0.5017 MB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.5294, allocations: 116 kB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5305, allocations: 0.5035 MB / 1.481 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.5309, allocations: 303 kB / 1.481 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.5315, allocations: 0.548 MB / 1.482 GB, free: 14 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.5341, allocations: 1.669 MB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5341, allocations: 0 / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5341, allocations: 4 kB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.5341, allocations: 3.938 kB / 1.483 GB, free: 12.32 MB / 1.186 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.003022/0.5371, allocations: 1.486 MB / 1.485 GB, free: 10.78 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5372, allocations: 11.98 kB / 1.485 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/0.5374, allocations: 135.3 kB / 1.485 GB, free: 10.63 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5389, allocations: 224 kB / 1.485 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.5405, allocations: 0.7785 MB / 1.486 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.5406, allocations: 65.94 kB / 1.486 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5407, allocations: 76 kB / 1.486 GB, free: 9.449 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5424, allocations: 0.9028 MB / 1.487 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5424, allocations: 4 kB / 1.487 GB, free: 8.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.5425, allocations: 32 kB / 1.487 GB, free: 8.473 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.5425, allocations: 20 kB / 1.487 GB, free: 8.453 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5444, allocations: 1.097 MB / 1.488 GB, free: 7.352 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004521/0.5489, allocations: 2.712 MB / 1.491 GB, free: 4.508 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.5506, allocations: 0.8195 MB / 1.491 GB, free: 3.664 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.5511, allocations: 278.7 kB / 1.492 GB, free: 3.383 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/0.5512, allocations: 36.55 kB / 1.492 GB, free: 3.348 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000926/0.5521, allocations: 491.8 kB / 1.492 GB, free: 2.848 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.985e-06/0.5521, allocations: 4 kB / 1.492 GB, free: 2.844 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.00351/0.5557, allocations: 1.186 MB / 1.493 GB, free: 1.633 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.5558, allocations: 192.5 kB / 1.494 GB, free: 1.402 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.5567, allocations: 0.6489 MB / 1.494 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.5568, allocations: 41.7 kB / 1.494 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.5572, allocations: 409 kB / 1.495 GB, free: 300 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.5575, allocations: 265.7 kB / 1.495 GB, free: 32 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.5578, allocations: 146.6 kB / 1.495 GB, free: 15.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.558, allocations: 390.7 kB / 1.495 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.5585, allocations: 241.9 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.5592, allocations: 354.5 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.5603, allocations: 0.576 MB / 1.496 GB, free: 14.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5603, allocations: 0 / 1.496 GB, free: 14.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002059/0.5624, allocations: 0.7945 MB / 1.497 GB, free: 13.49 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5624, allocations: 4 kB / 1.497 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5624, allocations: 4 kB / 1.497 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.563, allocations: 84.86 kB / 1.497 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.5636, allocations: 143.8 kB / 1.497 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.566, allocations: 1.649 MB / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.5668, allocations: 87.52 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.5669, allocations: 27.98 kB / 1.499 GB, free: 11.35 MB / 1.201 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.0005017/0.5674, allocations: 277.5 kB / 1.499 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.5676, allocations: 87.44 kB / 1.5 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.5701, allocations: 1.046 MB / 1.501 GB, free: 9.922 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5701, allocations: 15.98 kB / 1.501 GB, free: 9.906 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5701, allocations: 0 / 1.501 GB, free: 9.906 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5701, allocations: 7.922 kB / 1.501 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.5736, allocations: 1.912 MB / 1.502 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5736, allocations: 0 / 1.502 GB, free: 7.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5743, allocations: 151.8 kB / 1.503 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.5747, allocations: 72.78 kB / 1.503 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.5748, allocations: 23.98 kB / 1.503 GB, free: 7.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.577, allocations: 1.658 MB / 1.504 GB, free: 5.875 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.577, allocations: 0 / 1.504 GB, free: 5.875 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.5793, allocations: 0.9906 MB / 1.505 GB, free: 4.863 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.5798, allocations: 280.2 kB / 1.506 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.5799, allocations: 16 kB / 1.506 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.5806, allocations: 67.92 kB / 1.506 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.5808, allocations: 72.84 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.5809, allocations: 35.97 kB / 1.506 GB, free: 4.383 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006818/0.5815, allocations: 471 kB / 1.506 GB, free: 3.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5815, allocations: 0 / 1.506 GB, free: 3.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009719/0.5825, allocations: 319.2 kB / 1.507 GB, free: 3.617 MB / 1.201 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.004457/0.587, allocations: 2.045 MB / 1.509 GB, free: 1.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.5888, allocations: 0.7689 MB / 1.509 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5888, allocations: 0 / 1.509 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5898, allocations: 488.2 kB / 1.51 GB, free: 468 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5912, allocations: 306.7 kB / 1.51 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6025, allocations: 6.224 MB / 1.516 GB, free: 9.805 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.6032, allocations: 1.012 MB / 1.517 GB, free: 8.762 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008367/0.604, allocations: 274.6 kB / 1.517 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.6046, allocations: 383.3 kB / 1.518 GB, free: 8.113 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.6046, allocations: 0 / 1.518 GB, free: 8.113 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06288/0.6675, allocations: 21.71 MB / 1.539 GB, free: 2.715 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.23, allocations: 4 kB / 1.539 GB, free: 2.711 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.79148218408227]