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.001557/0.001557, allocations: 116.8 kB / 17.17 MB, free: 6 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.001992/0.001992, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.355 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.002015/0.002015, allocations: 67.89 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006018/1.111, allocations: 4.98 MB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2182/1.329, allocations: 154 MB / 1.477 GB, free: 4.281 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/1.33, allocations: 23.34 kB / 1.477 GB, free: 4.27 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006975/1.331, allocations: 206.3 kB / 1.477 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/1.333, allocations: 0.5714 MB / 1.478 GB, free: 3.66 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/1.335, allocations: 0.8724 MB / 1.478 GB, free: 3 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002066/1.337, allocations: 1.45 MB / 1.48 GB, free: 2.098 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/1.338, allocations: 434 kB / 1.48 GB, free: 1.777 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/1.339, allocations: 0.5219 MB / 1.481 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/1.34, allocations: 0.5329 MB / 1.481 GB, free: 1.09 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/1.34, allocations: 119.7 kB / 1.481 GB, free: 1.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/1.341, allocations: 0.5148 MB / 1.482 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/1.342, allocations: 312.1 kB / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005985/1.342, allocations: 0.5808 MB / 1.483 GB, free: 216 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/1.345, allocations: 1.711 MB / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.345, allocations: 5 kB / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/1.345, allocations: 0 / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.053e-05/1.345, allocations: 3.938 kB / 1.484 GB, free: 14.97 MB / 1.17 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.003112/1.348, allocations: 1.518 MB / 1.486 GB, free: 13.78 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.348, allocations: 13.45 kB / 1.486 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.056e-05/1.348, allocations: 32.06 kB / 1.486 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/1.348, allocations: 141 kB / 1.486 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/1.35, allocations: 249.7 kB / 1.486 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.351, allocations: 0.8005 MB / 1.487 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/1.351, allocations: 59.91 kB / 1.487 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/1.352, allocations: 83.66 kB / 1.487 GB, free: 12.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.353, allocations: 0.9449 MB / 1.488 GB, free: 12.21 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.353, allocations: 1.625 kB / 1.488 GB, free: 12.21 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/1.354, allocations: 40.58 kB / 1.488 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/1.354, allocations: 20.47 kB / 1.488 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/1.356, allocations: 1.131 MB / 1.489 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/1.36, allocations: 2.784 MB / 1.492 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.362, allocations: 0.8601 MB / 1.493 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/1.362, allocations: 288.4 kB / 1.493 GB, free: 8.73 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/1.363, allocations: 31.52 kB / 1.493 GB, free: 8.715 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009773/1.363, allocations: 0.5172 MB / 1.494 GB, free: 8.383 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/1.363, allocations: 1.562 kB / 1.494 GB, free: 8.383 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003707/1.367, allocations: 1.261 MB / 1.495 GB, free: 7.441 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.367, allocations: 196.9 kB / 1.495 GB, free: 7.207 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.368, allocations: 0.6607 MB / 1.496 GB, free: 6.539 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/1.368, allocations: 41.7 kB / 1.496 GB, free: 6.492 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/1.369, allocations: 417.1 kB / 1.496 GB, free: 6.078 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.369, allocations: 277.6 kB / 1.496 GB, free: 5.805 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.369, allocations: 158.6 kB / 1.497 GB, free: 5.645 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002286/1.37, allocations: 394.7 kB / 1.497 GB, free: 5.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/1.37, allocations: 253.9 kB / 1.497 GB, free: 5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/1.371, allocations: 378.4 kB / 1.498 GB, free: 4.605 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.372, allocations: 0.6008 MB / 1.498 GB, free: 3.992 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.372, allocations: 0 / 1.498 GB, free: 3.992 MB / 1.17 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002176/1.374, allocations: 0.8297 MB / 1.499 GB, free: 3.156 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.374, allocations: 11.97 kB / 1.499 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.374, allocations: 4 kB / 1.499 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/1.375, allocations: 88.75 kB / 1.499 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/1.376, allocations: 159.7 kB / 1.499 GB, free: 2.895 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.378, allocations: 1.619 MB / 1.501 GB, free: 1.129 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/1.379, allocations: 106.7 kB / 1.501 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/1.379, allocations: 31.92 kB / 1.501 GB, free: 0.9961 MB / 1.17 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.0005718/1.38, allocations: 271.7 kB / 1.501 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/1.38, allocations: 87.44 kB / 1.501 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/1.382, allocations: 1.144 MB / 1.502 GB, free: 15.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.382, allocations: 8 kB / 1.502 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.382, allocations: 3.938 kB / 1.502 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.382, allocations: 3.984 kB / 1.502 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/1.386, allocations: 2.036 MB / 1.504 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.386, allocations: 0 / 1.504 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.387, allocations: 155.7 kB / 1.505 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/1.387, allocations: 76.78 kB / 1.505 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/1.387, allocations: 27.98 kB / 1.505 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.39, allocations: 1.65 MB / 1.506 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.39, allocations: 0 / 1.506 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.393, allocations: 1.053 MB / 1.507 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/1.393, allocations: 292.1 kB / 1.508 GB, free: 9.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.393, allocations: 20 kB / 1.508 GB, free: 9.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/1.394, allocations: 67.92 kB / 1.508 GB, free: 9.844 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.394, allocations: 76.89 kB / 1.508 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.29e-05/1.394, allocations: 40.11 kB / 1.508 GB, free: 9.727 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000828/1.395, allocations: 483 kB / 1.508 GB, free: 9.258 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.395, allocations: 0 / 1.508 GB, free: 9.258 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001278/1.397, allocations: 343 kB / 1.509 GB, free: 8.922 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.004781/1.401, allocations: 2.117 MB / 1.511 GB, free: 6.965 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001978/1.403, allocations: 0.804 MB / 1.511 GB, free: 6.145 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.403, allocations: 3.984 kB / 1.511 GB, free: 6.141 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.404, allocations: 0.5119 MB / 1.512 GB, free: 5.621 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.406, allocations: 294.1 kB / 1.512 GB, free: 5.348 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.418, allocations: 6.483 MB / 1.518 GB, free: 14.71 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/1.418, allocations: 1.04 MB / 1.52 GB, free: 13.64 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008876/1.419, allocations: 271.1 kB / 1.52 GB, free: 13.38 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/1.42, allocations: 411.3 kB / 1.52 GB, free: 12.97 MB / 1.201 GB Notification: Performance of SimCode: time 9.72e-07/1.42, allocations: 0 / 1.52 GB, free: 12.97 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/1.478, allocations: 22.67 MB / 1.542 GB, free: 6.613 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.08, allocations: 18.92 kB / 1.542 GB, free: 6.598 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.90793444798328]