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.001469/0.001469, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.001743/0.001743, allocations: 220.5 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001989/0.001989, allocations: 71.19 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007388/0.3735, allocations: 5.011 MB / 1.332 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.5581, allocations: 154.2 MB / 1.482 GB, free: 2.191 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.5591, allocations: 23.81 kB / 1.482 GB, free: 2.168 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.5599, allocations: 198.2 kB / 1.482 GB, free: 1.973 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.5622, allocations: 0.5742 MB / 1.483 GB, free: 1.398 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.5647, allocations: 0.8919 MB / 1.484 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.5675, allocations: 1.464 MB / 1.485 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.5687, allocations: 426.9 kB / 1.486 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.57, allocations: 0.5217 MB / 1.486 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.5712, allocations: 0.5329 MB / 1.487 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.5716, allocations: 120 kB / 1.487 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5731, allocations: 0.5152 MB / 1.487 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.5736, allocations: 311 kB / 1.488 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.5745, allocations: 0.5752 MB / 1.488 GB, free: 12.03 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.5786, allocations: 1.72 MB / 1.49 GB, free: 10.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5786, allocations: 0 / 1.49 GB, free: 10.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.518e-06/0.5786, allocations: 4 kB / 1.49 GB, free: 10.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.258e-05/0.5787, allocations: 0 / 1.49 GB, free: 10.3 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003938/0.5826, allocations: 1.456 MB / 1.491 GB, free: 8.805 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.5827, allocations: 16.03 kB / 1.491 GB, free: 8.789 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.975e-05/0.5827, allocations: 22.19 kB / 1.491 GB, free: 8.766 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.583, allocations: 135.5 kB / 1.491 GB, free: 8.625 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.5849, allocations: 252 kB / 1.492 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.5868, allocations: 0.7256 MB / 1.492 GB, free: 7.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.5869, allocations: 66 kB / 1.492 GB, free: 7.562 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.5871, allocations: 87.98 kB / 1.492 GB, free: 7.477 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.5891, allocations: 0.9379 MB / 1.493 GB, free: 6.496 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5891, allocations: 0 / 1.493 GB, free: 6.496 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.5892, allocations: 36 kB / 1.493 GB, free: 6.461 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5892, allocations: 20 kB / 1.493 GB, free: 6.441 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.5914, allocations: 1.128 MB / 1.495 GB, free: 5.316 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.5969, allocations: 2.736 MB / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.5988, allocations: 0.7825 MB / 1.498 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.5994, allocations: 286.8 kB / 1.498 GB, free: 1.375 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/0.5995, allocations: 32.61 kB / 1.498 GB, free: 1.344 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.6005, allocations: 0.5175 MB / 1.499 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 3.306e-06/0.6005, allocations: 0 / 1.499 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003602/0.6041, allocations: 1.184 MB / 1.5 GB, free: 15.61 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.6042, allocations: 196.9 kB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6053, allocations: 0.6646 MB / 1.501 GB, free: 14.71 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.6054, allocations: 41.7 kB / 1.501 GB, free: 14.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.6058, allocations: 417.1 kB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.606, allocations: 281.5 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.6063, allocations: 158.6 kB / 1.502 GB, free: 13.81 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.6065, allocations: 386.8 kB / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.6071, allocations: 257.9 kB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.6077, allocations: 378.5 kB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.6089, allocations: 0.6008 MB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6089, allocations: 0 / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002152/0.611, allocations: 0.8375 MB / 1.504 GB, free: 11.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.6111, allocations: 7.938 kB / 1.504 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6111, allocations: 0 / 1.504 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.6117, allocations: 88.75 kB / 1.504 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.6124, allocations: 155.8 kB / 1.504 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.6146, allocations: 1.535 MB / 1.506 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.6154, allocations: 93.86 kB / 1.506 GB, free: 9.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.6155, allocations: 39.91 kB / 1.506 GB, free: 9.285 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: 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.0005404/0.616, allocations: 273.4 kB / 1.506 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.6163, allocations: 87.44 kB / 1.506 GB, free: 8.922 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.6191, allocations: 1.136 MB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6191, allocations: 11.94 kB / 1.507 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6191, allocations: 0 / 1.507 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6191, allocations: 11.97 kB / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.6231, allocations: 2 MB / 1.509 GB, free: 5.688 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6231, allocations: 0 / 1.509 GB, free: 5.688 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.6238, allocations: 147.8 kB / 1.509 GB, free: 5.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.6243, allocations: 76.78 kB / 1.509 GB, free: 5.465 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.6244, allocations: 31.97 kB / 1.51 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.6265, allocations: 1.555 MB / 1.511 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6265, allocations: 0 / 1.511 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.629, allocations: 1.057 MB / 1.512 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/0.6296, allocations: 219 kB / 1.512 GB, free: 2.473 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.6299, allocations: 24 kB / 1.512 GB, free: 2.449 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.6307, allocations: 67.92 kB / 1.512 GB, free: 2.383 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.6309, allocations: 84.78 kB / 1.512 GB, free: 2.301 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.631, allocations: 35.98 kB / 1.512 GB, free: 2.266 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000831/0.6318, allocations: 483 kB / 1.513 GB, free: 1.797 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6318, allocations: 0 / 1.513 GB, free: 1.797 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001082/0.6329, allocations: 343 kB / 1.513 GB, free: 1.461 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: 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.004699/0.6376, allocations: 2.114 MB / 1.515 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.6396, allocations: 0.8118 MB / 1.516 GB, free: 14.68 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6396, allocations: 3.938 kB / 1.516 GB, free: 14.68 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6407, allocations: 0.5041 MB / 1.517 GB, free: 14.16 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6423, allocations: 298.8 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.6554, allocations: 6.478 MB / 1.523 GB, free: 7.254 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000899/0.6563, allocations: 1.04 MB / 1.524 GB, free: 6.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001078/0.6574, allocations: 271.1 kB / 1.525 GB, free: 5.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/0.6583, allocations: 415.3 kB / 1.525 GB, free: 5.504 MB / 1.217 GB Notification: Performance of SimCode: time 2.054e-06/0.6583, allocations: 0 / 1.525 GB, free: 5.504 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.724, allocations: 23.25 MB / 1.548 GB, free: 14.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.25, allocations: 12.05 kB / 1.548 GB, free: 14.5 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.293729075987358]