Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.00129/0.00129, allocations: 102.4 kB / 16.45 MB, free: 6.453 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.001409/0.001409, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.07/3.07, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.002087/0.002087, allocations: 68.8 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.008686/0.3549, allocations: 5.419 MB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5399, allocations: 154.2 MB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.5409, allocations: 19.88 kB / 1.477 GB, free: 3.133 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.5417, allocations: 218 kB / 1.477 GB, free: 2.918 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.5438, allocations: 0.6321 MB / 1.477 GB, free: 2.285 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.546, allocations: 0.9012 MB / 1.478 GB, free: 1.391 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.5481, allocations: 1.576 MB / 1.48 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.549, allocations: 488.2 kB / 1.48 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.5499, allocations: 0.5879 MB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007771/0.5507, allocations: 0.6068 MB / 1.482 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.5509, allocations: 136 kB / 1.482 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.552, allocations: 0.5503 MB / 1.482 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.5523, allocations: 342.9 kB / 1.483 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.553, allocations: 0.6607 MB / 1.483 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.5557, allocations: 1.911 MB / 1.485 GB, free: 10.51 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5557, allocations: 0 / 1.485 GB, free: 10.51 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5557, allocations: 0 / 1.485 GB, free: 10.51 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.5557, allocations: 4 kB / 1.485 GB, free: 10.5 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003258/0.559, allocations: 1.653 MB / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.559, allocations: 11.98 kB / 1.487 GB, free: 8.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.5592, allocations: 160.5 kB / 1.487 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.5613, allocations: 283.9 kB / 1.487 GB, free: 8.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5627, allocations: 0.8406 MB / 1.488 GB, free: 7.457 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.5628, allocations: 82.02 kB / 1.488 GB, free: 7.375 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.5629, allocations: 104 kB / 1.488 GB, free: 7.273 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.5649, allocations: 1.067 MB / 1.489 GB, free: 6.141 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5649, allocations: 3.984 kB / 1.489 GB, free: 6.137 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.565, allocations: 40 kB / 1.489 GB, free: 6.098 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.565, allocations: 24 kB / 1.489 GB, free: 6.074 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5671, allocations: 1.221 MB / 1.49 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.5722, allocations: 3.269 MB / 1.494 GB, free: 1.418 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.5738, allocations: 0.8428 MB / 1.494 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.5744, allocations: 315.6 kB / 1.495 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.386e-05/0.5745, allocations: 41 kB / 1.495 GB, free: 224 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5755, allocations: 0.5513 MB / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.5755, allocations: 0 / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of matching and sorting (n=92): time 0.003734/0.5793, allocations: 1.349 MB / 1.497 GB, free: 14.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5794, allocations: 196.9 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5804, allocations: 0.7077 MB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/0.5805, allocations: 41.7 kB / 1.498 GB, free: 13.28 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.5809, allocations: 457.1 kB / 1.498 GB, free: 12.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.5812, allocations: 321.3 kB / 1.498 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.5815, allocations: 162.6 kB / 1.498 GB, free: 12.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5816, allocations: 337.9 kB / 1.499 GB, free: 12 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/0.5822, allocations: 289.8 kB / 1.499 GB, free: 11.72 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.5829, allocations: 402.5 kB / 1.499 GB, free: 11.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.5842, allocations: 0.6672 MB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5842, allocations: 4 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002263/0.5865, allocations: 0.9077 MB / 1.501 GB, free: 9.707 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5865, allocations: 6.344 kB / 1.501 GB, free: 9.703 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5865, allocations: 0 / 1.501 GB, free: 9.703 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.5872, allocations: 84.83 kB / 1.501 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.5879, allocations: 175.7 kB / 1.501 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5902, allocations: 1.642 MB / 1.503 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.5911, allocations: 111.5 kB / 1.503 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.5911, allocations: 35.97 kB / 1.503 GB, free: 7.512 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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0005344/0.5917, allocations: 279.4 kB / 1.503 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5919, allocations: 95.39 kB / 1.503 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.5947, allocations: 1.231 MB / 1.505 GB, free: 5.891 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5947, allocations: 16 kB / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5947, allocations: 0 / 1.505 GB, free: 5.875 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5947, allocations: 3.984 kB / 1.505 GB, free: 5.871 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5961, allocations: 1.024 MB / 1.506 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5961, allocations: 3.984 kB / 1.506 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.5968, allocations: 163.8 kB / 1.506 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.5972, allocations: 72.78 kB / 1.506 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.5973, allocations: 35.91 kB / 1.506 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5994, allocations: 1.658 MB / 1.507 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5994, allocations: 3.984 kB / 1.507 GB, free: 2.707 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.6019, allocations: 1.049 MB / 1.508 GB, free: 1.641 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.6023, allocations: 304.1 kB / 1.509 GB, free: 1.324 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.6025, allocations: 27.94 kB / 1.509 GB, free: 1.297 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.6032, allocations: 67.92 kB / 1.509 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6034, allocations: 80.89 kB / 1.509 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.6034, allocations: 39.97 kB / 1.509 GB, free: 1.113 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007332/0.6042, allocations: 0.5107 MB / 1.509 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6042, allocations: 0 / 1.509 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009724/0.6052, allocations: 371.1 kB / 1.51 GB, free: 248 kB / 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.004507/0.6097, allocations: 2.139 MB / 1.512 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.6116, allocations: 0.8664 MB / 1.513 GB, free: 13.38 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.6116, allocations: 4 kB / 1.513 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6127, allocations: 0.5353 MB / 1.513 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.614, allocations: 318.4 kB / 1.514 GB, free: 12.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.6263, allocations: 6.928 MB / 1.52 GB, free: 5.461 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/0.627, allocations: 1.075 MB / 1.521 GB, free: 4.355 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.628, allocations: 319.4 kB / 1.522 GB, free: 4.039 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.6287, allocations: 443.2 kB / 1.522 GB, free: 3.605 MB / 1.217 GB Notification: Performance of SimCode: time 7.42e-07/0.6287, allocations: 4 kB / 1.522 GB, free: 3.602 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06504/0.6937, allocations: 24.49 MB / 1.546 GB, free: 11.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.39, allocations: 7.234 kB / 1.546 GB, free: 11.43 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.99973915098235]