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.001776/0.001776, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002224/0.002224, allocations: 217.1 kB / 22.25 MB, free: 5.105 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 / 256 MB, free: 7.816 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.009/3.009, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.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.00194/0.00194, allocations: 70.5 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3286, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006807/0.3355, allocations: 4.474 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5151, allocations: 132.7 MB / 1.46 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.5162, allocations: 19.81 kB / 1.46 GB, free: 7.797 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.5172, allocations: 202.2 kB / 1.46 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.5197, allocations: 0.5856 MB / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.5225, allocations: 0.8687 MB / 1.461 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002235/0.5247, allocations: 1.456 MB / 1.463 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.5257, allocations: 422 kB / 1.463 GB, free: 4.25 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.5269, allocations: 0.5295 MB / 1.464 GB, free: 3.719 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.5281, allocations: 0.5266 MB / 1.464 GB, free: 3.191 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.5285, allocations: 120 kB / 1.464 GB, free: 3.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.5302, allocations: 0.4957 MB / 1.465 GB, free: 2.578 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.5306, allocations: 311 kB / 1.465 GB, free: 2.273 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.5313, allocations: 481.7 kB / 1.466 GB, free: 1.801 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.5339, allocations: 1.724 MB / 1.467 GB, free: 72 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5339, allocations: 0 / 1.467 GB, free: 72 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5339, allocations: 0 / 1.467 GB, free: 72 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.5339, allocations: 0 / 1.467 GB, free: 72 kB / 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.003337/0.5373, allocations: 1.456 MB / 1.469 GB, free: 14.58 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.5373, allocations: 8.031 kB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.5375, allocations: 143.5 kB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.5393, allocations: 244 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5407, allocations: 0.7336 MB / 1.47 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.5408, allocations: 65.98 kB / 1.47 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.5409, allocations: 87.94 kB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.5428, allocations: 1.193 MB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5428, allocations: 7.938 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.5429, allocations: 36 kB / 1.471 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.5429, allocations: 20 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.5448, allocations: 1.085 MB / 1.472 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.5491, allocations: 2.252 MB / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5507, allocations: 0.7781 MB / 1.475 GB, free: 7.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.5512, allocations: 286.7 kB / 1.476 GB, free: 7.434 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.04e-05/0.5513, allocations: 20.64 kB / 1.476 GB, free: 7.414 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.5523, allocations: 0.618 MB / 1.476 GB, free: 6.754 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/0.5523, allocations: 4 kB / 1.476 GB, free: 6.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003551/0.5559, allocations: 1.184 MB / 1.477 GB, free: 5.555 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.556, allocations: 192.9 kB / 1.477 GB, free: 5.324 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.557, allocations: 0.6684 MB / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.5571, allocations: 41.7 kB / 1.478 GB, free: 4.602 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.5574, allocations: 413.1 kB / 1.479 GB, free: 4.191 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.5577, allocations: 281.7 kB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.558, allocations: 158.6 kB / 1.479 GB, free: 3.754 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.5582, allocations: 390.8 kB / 1.479 GB, free: 3.363 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.5587, allocations: 253.9 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/0.5594, allocations: 499.1 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.5606, allocations: 0.6047 MB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5606, allocations: 0 / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002056/0.5626, allocations: 0.8296 MB / 1.481 GB, free: 1.113 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5627, allocations: 11.94 kB / 1.481 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5627, allocations: 4.094 kB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.5633, allocations: 80.77 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.564, allocations: 159.8 kB / 1.482 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5663, allocations: 1.531 MB / 1.483 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.5671, allocations: 93.44 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.5672, allocations: 31.97 kB / 1.483 GB, free: 15.09 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.0005161/0.5677, allocations: 281.4 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.5679, allocations: 87.44 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5706, allocations: 1.14 MB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.5706, allocations: 11.94 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5706, allocations: 0 / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5706, allocations: 7.984 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.5742, allocations: 1.876 MB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5742, allocations: 4 kB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.5749, allocations: 151.8 kB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.5754, allocations: 76.72 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.5754, allocations: 27.98 kB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.5775, allocations: 1.543 MB / 1.488 GB, free: 9.699 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5775, allocations: 8.016 kB / 1.488 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.5798, allocations: 1.053 MB / 1.489 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.5803, allocations: 215 kB / 1.49 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5805, allocations: 24 kB / 1.49 GB, free: 8.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.5812, allocations: 67.92 kB / 1.49 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5814, allocations: 80.84 kB / 1.49 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.5815, allocations: 39.97 kB / 1.49 GB, free: 8.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006698/0.5822, allocations: 483 kB / 1.49 GB, free: 7.734 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5822, allocations: 0 / 1.49 GB, free: 7.734 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009516/0.5831, allocations: 331.2 kB / 1.491 GB, free: 7.41 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.004723/0.5878, allocations: 2.153 MB / 1.493 GB, free: 5.434 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.5897, allocations: 0.8079 MB / 1.494 GB, free: 4.617 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5897, allocations: 0 / 1.494 GB, free: 4.617 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.5906, allocations: 0.5079 MB / 1.494 GB, free: 4.098 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.592, allocations: 310.2 kB / 1.494 GB, free: 3.82 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.604, allocations: 6.478 MB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.6046, allocations: 453.3 kB / 1.501 GB, free: 12.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001012/0.6056, allocations: 271.1 kB / 1.501 GB, free: 12.44 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/0.6063, allocations: 419.2 kB / 1.502 GB, free: 12.03 MB / 1.201 GB Notification: Performance of SimCode: time 1.764e-06/0.6063, allocations: 0 / 1.502 GB, free: 12.03 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/0.6723, allocations: 24.45 MB / 1.526 GB, free: 3.879 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.94, allocations: 10.16 kB / 1.526 GB, free: 3.875 MB / 1.217 GB " [Timeout remaining time 286] (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: 20.463164729997516]