Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001647/0.001647, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002153/0.002153, allocations: 213.6 kB / 22.25 MB, free: 5.258 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.746 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.301/3.301, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002586/0.002586, allocations: 66.58 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3884, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006499/0.3949, allocations: 4.476 MB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.5621, allocations: 132.7 MB / 1.459 GB, free: 8.625 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.5635, allocations: 23.81 kB / 1.459 GB, free: 8.602 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.5644, allocations: 198.2 kB / 1.459 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.5667, allocations: 0.5815 MB / 1.46 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.569, allocations: 0.8728 MB / 1.461 GB, free: 6.957 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001977/0.571, allocations: 1.448 MB / 1.462 GB, free: 5.504 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.5719, allocations: 405.9 kB / 1.462 GB, free: 5.082 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.5727, allocations: 0.5178 MB / 1.463 GB, free: 4.562 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008043/0.5735, allocations: 489.7 kB / 1.463 GB, free: 4.082 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.5737, allocations: 124 kB / 1.464 GB, free: 3.961 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5748, allocations: 495.6 kB / 1.464 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.5751, allocations: 311 kB / 1.464 GB, free: 3.172 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.5755, allocations: 473.7 kB / 1.465 GB, free: 2.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.5776, allocations: 1.728 MB / 1.466 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5776, allocations: 4 kB / 1.466 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5776, allocations: 3.938 kB / 1.466 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.5776, allocations: 0 / 1.466 GB, free: 0.9648 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002665/0.5802, allocations: 1.448 MB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5803, allocations: 12.03 kB / 1.468 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.5805, allocations: 139.5 kB / 1.468 GB, free: 15.32 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.5821, allocations: 251.9 kB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5834, allocations: 0.7297 MB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.5835, allocations: 69.98 kB / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5836, allocations: 84 kB / 1.469 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.5853, allocations: 1.193 MB / 1.47 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.5853, allocations: 3.938 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.5854, allocations: 40 kB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5855, allocations: 20 kB / 1.47 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5873, allocations: 1.085 MB / 1.471 GB, free: 11.72 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.5913, allocations: 2.252 MB / 1.474 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.5928, allocations: 0.7742 MB / 1.474 GB, free: 8.617 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.5934, allocations: 287.5 kB / 1.475 GB, free: 8.336 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.5934, allocations: 20.64 kB / 1.475 GB, free: 8.316 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009789/0.5944, allocations: 0.6219 MB / 1.475 GB, free: 7.652 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.394e-06/0.5944, allocations: 0 / 1.475 GB, free: 7.652 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003281/0.5977, allocations: 1.176 MB / 1.476 GB, free: 6.465 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.5978, allocations: 196.9 kB / 1.477 GB, free: 6.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.5987, allocations: 0.6723 MB / 1.477 GB, free: 5.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.5988, allocations: 45.64 kB / 1.477 GB, free: 5.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.5991, allocations: 413.1 kB / 1.478 GB, free: 5.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.5994, allocations: 281.7 kB / 1.478 GB, free: 4.812 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.5996, allocations: 158.6 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5998, allocations: 386.8 kB / 1.478 GB, free: 4.266 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.6003, allocations: 253.9 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.601, allocations: 0.4952 MB / 1.479 GB, free: 3.465 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6022, allocations: 0.6008 MB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6022, allocations: 0 / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001981/0.6042, allocations: 0.8374 MB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6042, allocations: 11.94 kB / 1.481 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6042, allocations: 0 / 1.481 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6048, allocations: 84.86 kB / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.6055, allocations: 155.8 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6076, allocations: 1.531 MB / 1.482 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/0.6083, allocations: 99.39 kB / 1.482 GB, free: 12 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.6084, allocations: 28.06 kB / 1.482 GB, free: 15.98 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004296/0.6088, allocations: 277.4 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.609, allocations: 87.44 kB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.6115, allocations: 1.144 MB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6115, allocations: 8 kB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6116, allocations: 0 / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6116, allocations: 3.984 kB / 1.484 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.615, allocations: 1.88 MB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.615, allocations: 0 / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.6156, allocations: 159.8 kB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.6161, allocations: 72.78 kB / 1.486 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.6161, allocations: 23.98 kB / 1.486 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.6181, allocations: 1.547 MB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6181, allocations: 3.984 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6204, allocations: 1.049 MB / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.621, allocations: 219 kB / 1.489 GB, free: 9.305 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6211, allocations: 24 kB / 1.489 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.6218, allocations: 67.86 kB / 1.489 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.6219, allocations: 84.84 kB / 1.489 GB, free: 9.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.622, allocations: 35.97 kB / 1.489 GB, free: 9.098 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000651/0.6226, allocations: 483 kB / 1.489 GB, free: 8.633 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6226, allocations: 0 / 1.489 GB, free: 8.633 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009163/0.6235, allocations: 339.1 kB / 1.49 GB, free: 8.301 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00446/0.628, allocations: 2.147 MB / 1.492 GB, free: 6.34 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.6298, allocations: 0.8118 MB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6298, allocations: 4 kB / 1.493 GB, free: 5.512 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009928/0.6308, allocations: 0.5041 MB / 1.493 GB, free: 4.996 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.632, allocations: 307.8 kB / 1.493 GB, free: 4.719 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.643, allocations: 6.468 MB / 1.5 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.6435, allocations: 453.3 kB / 1.5 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.6444, allocations: 271.1 kB / 1.5 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.645, allocations: 427.1 kB / 1.501 GB, free: 12.93 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/0.645, allocations: 0 / 1.501 GB, free: 12.93 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06688/0.7119, allocations: 24.22 MB / 1.525 GB, free: 5.027 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.45, allocations: 10.33 kB / 1.525 GB, free: 5.023 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.51696708286181]