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.001375/0.001375, allocations: 101.8 kB / 16.45 MB, free: 6.5 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.001507/0.001507, allocations: 210.4 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.031/3.031, allocations: 0.49 GB / 0.7916 GB, free: 33.56 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_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.002056/0.002056, allocations: 64.47 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 176.1 MB / 1.321 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007335/0.3286, allocations: 4.867 MB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5113, allocations: 154 MB / 1.476 GB, free: 3.914 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5123, allocations: 23.81 kB / 1.476 GB, free: 3.891 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.5131, allocations: 194.2 kB / 1.476 GB, free: 3.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.5152, allocations: 0.5545 MB / 1.477 GB, free: 3.145 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.5174, allocations: 0.8665 MB / 1.478 GB, free: 2.285 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.5194, allocations: 1.401 MB / 1.479 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008629/0.5203, allocations: 429.2 kB / 1.479 GB, free: 444 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.5211, allocations: 0.4944 MB / 1.48 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.5219, allocations: 0.5134 MB / 1.48 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.5221, allocations: 120 kB / 1.48 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5232, allocations: 0.5152 MB / 1.481 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.5235, allocations: 307 kB / 1.481 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.5242, allocations: 0.5597 MB / 1.482 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.5269, allocations: 1.697 MB / 1.483 GB, free: 12.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5269, allocations: 4 kB / 1.483 GB, free: 12.22 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5269, allocations: 3.938 kB / 1.483 GB, free: 12.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.527, allocations: 0 / 1.483 GB, free: 12.21 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.003056/0.53, allocations: 1.49 MB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5301, allocations: 11.98 kB / 1.485 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.5302, allocations: 135.4 kB / 1.485 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.532, allocations: 244 kB / 1.485 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.5334, allocations: 0.7863 MB / 1.486 GB, free: 9.457 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.5335, allocations: 62 kB / 1.486 GB, free: 9.395 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5336, allocations: 80 kB / 1.486 GB, free: 9.316 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5353, allocations: 0.9184 MB / 1.487 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5353, allocations: 4 kB / 1.487 GB, free: 8.355 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/0.5354, allocations: 36 kB / 1.487 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.5354, allocations: 20 kB / 1.487 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.5373, allocations: 1.108 MB / 1.488 GB, free: 7.188 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/0.5421, allocations: 2.771 MB / 1.491 GB, free: 4.289 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5439, allocations: 0.848 MB / 1.492 GB, free: 3.414 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.5444, allocations: 278.6 kB / 1.492 GB, free: 3.133 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.5445, allocations: 32.61 kB / 1.492 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009149/0.5454, allocations: 492.8 kB / 1.492 GB, free: 2.602 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.946e-06/0.5454, allocations: 0 / 1.492 GB, free: 2.602 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003407/0.5488, allocations: 1.198 MB / 1.494 GB, free: 1.379 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.549, allocations: 192.6 kB / 1.494 GB, free: 1.148 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009749/0.5499, allocations: 0.6489 MB / 1.494 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.55, allocations: 41.7 kB / 1.494 GB, free: 456 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.5504, allocations: 409 kB / 1.495 GB, free: 40 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.5507, allocations: 269.9 kB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.551, allocations: 150.6 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5512, allocations: 390.5 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.5517, allocations: 241.9 kB / 1.496 GB, free: 14.99 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.5524, allocations: 362.5 kB / 1.496 GB, free: 14.61 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5536, allocations: 0.5761 MB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.5536, allocations: 4 kB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00214/0.5557, allocations: 0.8023 MB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5557, allocations: 4 kB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5558, allocations: 7.938 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.5564, allocations: 84.83 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.557, allocations: 147.8 kB / 1.498 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.5594, allocations: 1.652 MB / 1.499 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.5602, allocations: 87.55 kB / 1.5 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.5603, allocations: 23.98 kB / 1.5 GB, free: 11.06 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.0005011/0.5608, allocations: 277.6 kB / 1.5 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.561, allocations: 91.44 kB / 1.5 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.5635, allocations: 1.066 MB / 1.501 GB, free: 9.602 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5636, allocations: 11.94 kB / 1.501 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5636, allocations: 0 / 1.501 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5636, allocations: 7.969 kB / 1.501 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.5672, allocations: 1.975 MB / 1.503 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5672, allocations: 4 kB / 1.503 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.5678, allocations: 139.8 kB / 1.503 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.5682, allocations: 72.78 kB / 1.503 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.5683, allocations: 23.98 kB / 1.503 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.5704, allocations: 1.677 MB / 1.505 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5704, allocations: 0 / 1.505 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.5727, allocations: 0.9985 MB / 1.506 GB, free: 4.469 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.5731, allocations: 284.3 kB / 1.506 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5733, allocations: 24.05 kB / 1.506 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.5739, allocations: 67.92 kB / 1.506 GB, free: 4.082 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.5741, allocations: 64.91 kB / 1.506 GB, free: 4.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.5742, allocations: 39.97 kB / 1.506 GB, free: 3.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006589/0.5748, allocations: 471 kB / 1.507 GB, free: 3.527 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5748, allocations: 0 / 1.507 GB, free: 3.527 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009993/0.5758, allocations: 323.2 kB / 1.507 GB, free: 3.211 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.004443/0.5803, allocations: 2.05 MB / 1.509 GB, free: 1.324 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.5822, allocations: 0.7687 MB / 1.51 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5823, allocations: 4.188 kB / 1.51 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5833, allocations: 0.4885 MB / 1.51 GB, free: 36 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5848, allocations: 307.8 kB / 1.51 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.5963, allocations: 6.273 MB / 1.517 GB, free: 9.328 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.597, allocations: 1.025 MB / 1.518 GB, free: 8.27 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008631/0.5979, allocations: 270.6 kB / 1.518 GB, free: 8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/0.5985, allocations: 387.3 kB / 1.518 GB, free: 7.621 MB / 1.217 GB Notification: Performance of SimCode: time 1.433e-06/0.5985, allocations: 0 / 1.518 GB, free: 7.621 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06127/0.6598, allocations: 21.95 MB / 1.54 GB, free: 1.949 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.07, allocations: 8 kB / 1.54 GB, free: 1.941 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.592117927968502]