Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.001307/0.001307, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001581/0.001581, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.25/3.25, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",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.00204/0.00204, allocations: 70.98 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007613/0.3521, allocations: 4.923 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5355, allocations: 154.1 MB / 1.482 GB, free: 2.344 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.5365, allocations: 27.75 kB / 1.482 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.5374, allocations: 198.2 kB / 1.482 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.5398, allocations: 0.5478 MB / 1.483 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.5423, allocations: 0.8836 MB / 1.484 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.5445, allocations: 1.401 MB / 1.485 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.5456, allocations: 429.7 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009522/0.5465, allocations: 0.4945 MB / 1.486 GB, free: 14.35 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.5474, allocations: 0.5134 MB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.5476, allocations: 120 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.5488, allocations: 0.5152 MB / 1.487 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.5492, allocations: 307 kB / 1.487 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007132/0.5499, allocations: 0.5558 MB / 1.488 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.5524, allocations: 1.708 MB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5524, allocations: 0 / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5524, allocations: 0 / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.483e-05/0.5525, allocations: 0 / 1.489 GB, free: 10.62 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003218/0.5557, allocations: 1.415 MB / 1.491 GB, free: 9.176 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5558, allocations: 8.031 kB / 1.491 GB, free: 9.168 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.695e-05/0.5558, allocations: 22.19 kB / 1.491 GB, free: 9.145 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.556, allocations: 135.4 kB / 1.491 GB, free: 9.004 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5577, allocations: 248 kB / 1.491 GB, free: 8.762 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5593, allocations: 0.7178 MB / 1.492 GB, free: 8.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.5593, allocations: 62 kB / 1.492 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.5595, allocations: 80 kB / 1.492 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5614, allocations: 0.9184 MB / 1.493 GB, free: 6.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.5614, allocations: 4 kB / 1.493 GB, free: 6.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.5615, allocations: 35.98 kB / 1.493 GB, free: 6.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5615, allocations: 20 kB / 1.493 GB, free: 6.859 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.5635, allocations: 1.104 MB / 1.494 GB, free: 5.758 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.5687, allocations: 2.725 MB / 1.497 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.5705, allocations: 0.7687 MB / 1.497 GB, free: 2.125 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.5711, allocations: 286.6 kB / 1.498 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/0.5712, allocations: 36.59 kB / 1.498 GB, free: 1.809 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/0.5721, allocations: 488.8 kB / 1.498 GB, free: 1.312 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.124e-06/0.5721, allocations: 0 / 1.498 GB, free: 1.312 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003385/0.5755, allocations: 1.123 MB / 1.499 GB, free: 184 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.5757, allocations: 192.6 kB / 1.5 GB, free: 15.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5767, allocations: 0.6566 MB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5768, allocations: 41.7 kB / 1.5 GB, free: 15.24 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.5772, allocations: 405 kB / 1.501 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.5775, allocations: 269.7 kB / 1.501 GB, free: 14.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.5778, allocations: 150.6 kB / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.578, allocations: 382.8 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.5786, allocations: 249.9 kB / 1.502 GB, free: 13.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.5795, allocations: 362.5 kB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.5807, allocations: 0.5838 MB / 1.503 GB, free: 12.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5807, allocations: 0 / 1.503 GB, free: 12.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002228/0.583, allocations: 0.7946 MB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.583, allocations: 4 kB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.583, allocations: 11.92 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/0.5837, allocations: 80.88 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.5844, allocations: 151.7 kB / 1.504 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5868, allocations: 1.549 MB / 1.505 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.5877, allocations: 87.78 kB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5878, allocations: 27.98 kB / 1.505 GB, free: 9.988 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.0005838/0.5884, allocations: 274.1 kB / 1.505 GB, free: 9.711 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.5887, allocations: 87.44 kB / 1.506 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.5916, allocations: 1.066 MB / 1.507 GB, free: 8.535 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5916, allocations: 11.94 kB / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5916, allocations: 0 / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.5916, allocations: 11.92 kB / 1.507 GB, free: 8.512 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.5958, allocations: 1.939 MB / 1.508 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5959, allocations: 0 / 1.508 GB, free: 6.523 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.5965, allocations: 143.8 kB / 1.509 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/0.597, allocations: 72.78 kB / 1.509 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.5971, allocations: 27.97 kB / 1.509 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.5993, allocations: 1.578 MB / 1.51 GB, free: 4.582 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5993, allocations: 0 / 1.51 GB, free: 4.582 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.6017, allocations: 0.9945 MB / 1.511 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.6023, allocations: 211 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6025, allocations: 23.98 kB / 1.511 GB, free: 3.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.6032, allocations: 63.94 kB / 1.512 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.6034, allocations: 72.8 kB / 1.512 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.6035, allocations: 39.97 kB / 1.512 GB, free: 3.164 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007476/0.6043, allocations: 471 kB / 1.512 GB, free: 2.707 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6043, allocations: 0 / 1.512 GB, free: 2.707 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001057/0.6053, allocations: 319.2 kB / 1.512 GB, free: 2.395 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.004673/0.61, allocations: 2.055 MB / 1.514 GB, free: 0.5 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.6121, allocations: 0.769 MB / 1.515 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6121, allocations: 0 / 1.515 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6132, allocations: 0.4924 MB / 1.516 GB, free: 15.21 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.6149, allocations: 314.2 kB / 1.516 GB, free: 14.92 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.6276, allocations: 6.277 MB / 1.522 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/0.6284, allocations: 1.023 MB / 1.523 GB, free: 7.438 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009879/0.6294, allocations: 262.7 kB / 1.523 GB, free: 7.176 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/0.6301, allocations: 383.3 kB / 1.524 GB, free: 6.801 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/0.6301, allocations: 0 / 1.524 GB, free: 6.801 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.6932, allocations: 22.55 MB / 1.546 GB, free: 0.5078 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.1, allocations: 6.906 kB / 1.546 GB, free: 0.5039 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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: 22.0831670469488]