Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001803/0.001803, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.00264/0.00264, allocations: 211.4 kB / 22.24 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.75 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.133/3.133, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.SolarHourAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002066/0.002066, allocations: 71.16 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007047/0.3406, allocations: 4.376 MB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1784/0.5191, allocations: 132.7 MB / 1.459 GB, free: 8.84 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007986/0.5199, allocations: 23.81 kB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.5205, allocations: 198.2 kB / 1.459 GB, free: 8.621 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.5225, allocations: 0.5593 MB / 1.46 GB, free: 8.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5246, allocations: 0.8512 MB / 1.46 GB, free: 7.219 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.5265, allocations: 1.382 MB / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.5273, allocations: 398.9 kB / 1.462 GB, free: 5.418 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.5281, allocations: 0.4906 MB / 1.463 GB, free: 4.926 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006921/0.5288, allocations: 457.8 kB / 1.463 GB, free: 4.477 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.529, allocations: 116 kB / 1.463 GB, free: 4.363 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5301, allocations: 495.6 kB / 1.464 GB, free: 3.879 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.5304, allocations: 299.1 kB / 1.464 GB, free: 3.586 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.5309, allocations: 453.8 kB / 1.464 GB, free: 3.141 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.5333, allocations: 1.677 MB / 1.466 GB, free: 1.457 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.5333, allocations: 4 kB / 1.466 GB, free: 1.453 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5333, allocations: 0 / 1.466 GB, free: 1.453 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.5333, allocations: 0 / 1.466 GB, free: 1.453 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003014/0.5363, allocations: 1.411 MB / 1.467 GB, free: 8 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5364, allocations: 8.031 kB / 1.467 GB, free: 0 / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.5366, allocations: 131.3 kB / 1.468 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.5381, allocations: 232 kB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5395, allocations: 0.7064 MB / 1.468 GB, free: 14.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.5396, allocations: 69.86 kB / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5397, allocations: 76 kB / 1.469 GB, free: 14.76 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.5415, allocations: 1.165 MB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.5416, allocations: 0 / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.5417, allocations: 36 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.5417, allocations: 20 kB / 1.47 GB, free: 13.44 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5436, allocations: 1.05 MB / 1.471 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.5481, allocations: 2.185 MB / 1.473 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.5497, allocations: 0.7439 MB / 1.474 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.5503, allocations: 278.7 kB / 1.474 GB, free: 9.109 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/0.5504, allocations: 32.56 kB / 1.474 GB, free: 9.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.5514, allocations: 0.5844 MB / 1.475 GB, free: 8.449 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.5514, allocations: 0 / 1.475 GB, free: 8.449 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003482/0.5549, allocations: 1.107 MB / 1.476 GB, free: 7.332 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.555, allocations: 196.6 kB / 1.476 GB, free: 7.098 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.556, allocations: 0.6527 MB / 1.476 GB, free: 6.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.5561, allocations: 37.7 kB / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.5565, allocations: 401 kB / 1.477 GB, free: 5.996 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.5568, allocations: 277.6 kB / 1.477 GB, free: 5.723 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.557, allocations: 142.6 kB / 1.477 GB, free: 5.578 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.5573, allocations: 390.7 kB / 1.478 GB, free: 5.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.5578, allocations: 245.9 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.5586, allocations: 483.1 kB / 1.478 GB, free: 4.418 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5598, allocations: 0.5721 MB / 1.479 GB, free: 3.832 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5598, allocations: 0 / 1.479 GB, free: 3.832 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00212/0.5619, allocations: 0.7984 MB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5619, allocations: 8.094 kB / 1.48 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5619, allocations: 4 kB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.5626, allocations: 80.77 kB / 1.48 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.5633, allocations: 147.8 kB / 1.48 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.5656, allocations: 1.525 MB / 1.481 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.5664, allocations: 87.64 kB / 1.481 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.5665, allocations: 27.98 kB / 1.482 GB, free: 1.027 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: 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.0005021/0.567, allocations: 274.2 kB / 1.482 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.5671, allocations: 87.44 kB / 1.482 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.5698, allocations: 1.054 MB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.5698, allocations: 8 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5698, allocations: 0 / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.5698, allocations: 7.922 kB / 1.483 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.5735, allocations: 1.77 MB / 1.485 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5735, allocations: 0 / 1.485 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.5741, allocations: 147.7 kB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.5746, allocations: 72.78 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.5746, allocations: 27.97 kB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.5769, allocations: 1.547 MB / 1.486 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5769, allocations: 0 / 1.486 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.5792, allocations: 0.9945 MB / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.5797, allocations: 203 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5798, allocations: 23.94 kB / 1.488 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.5805, allocations: 55.94 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5807, allocations: 80.8 kB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.5807, allocations: 43.97 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000682/0.5814, allocations: 467 kB / 1.488 GB, free: 9.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5814, allocations: 0 / 1.488 GB, free: 9.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009092/0.5823, allocations: 315.2 kB / 1.488 GB, free: 9.672 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: 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.004594/0.5869, allocations: 2.076 MB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.5888, allocations: 0.7689 MB / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5888, allocations: 0 / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.5898, allocations: 492.2 kB / 1.492 GB, free: 6.512 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5913, allocations: 306.8 kB / 1.492 GB, free: 6.23 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.6029, allocations: 6.228 MB / 1.498 GB, free: 15.85 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.6035, allocations: 431.6 kB / 1.499 GB, free: 15.39 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00105/0.6045, allocations: 270.6 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.6052, allocations: 379.3 kB / 1.499 GB, free: 14.75 MB / 1.201 GB Notification: Performance of SimCode: time 2.414e-06/0.6052, allocations: 4 kB / 1.499 GB, free: 14.75 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/0.6712, allocations: 23.22 MB / 1.522 GB, free: 7.84 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.59, allocations: 10.88 kB / 1.522 GB, free: 7.836 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.507474389858544]