Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001322/0.001322, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001435/0.001435, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1/3.1, allocations: 0.49 GB / 0.7959 GB, free: 35.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001974/0.001974, allocations: 72.92 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007457/0.3453, allocations: 4.688 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.5282, allocations: 132.7 MB / 1.461 GB, free: 7.617 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.5298, allocations: 19.88 kB / 1.461 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.5306, allocations: 206.1 kB / 1.461 GB, free: 7.395 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.5325, allocations: 0.5839 MB / 1.462 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.5348, allocations: 0.8978 MB / 1.462 GB, free: 5.918 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.5367, allocations: 1.475 MB / 1.464 GB, free: 4.438 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009266/0.5376, allocations: 476.6 kB / 1.464 GB, free: 3.949 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.5386, allocations: 0.5411 MB / 1.465 GB, free: 3.406 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.5393, allocations: 0.5562 MB / 1.465 GB, free: 2.848 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.5395, allocations: 128 kB / 1.466 GB, free: 2.723 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.5406, allocations: 0.5309 MB / 1.466 GB, free: 2.191 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.541, allocations: 326.9 kB / 1.466 GB, free: 1.871 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.5416, allocations: 0.5015 MB / 1.467 GB, free: 1.367 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.544, allocations: 1.813 MB / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5441, allocations: 0 / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5441, allocations: 0 / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.558e-05/0.5441, allocations: 0 / 1.469 GB, free: 15.55 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002979/0.5471, allocations: 1.5 MB / 1.47 GB, free: 14.01 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5471, allocations: 8.031 kB / 1.47 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.081e-05/0.5471, allocations: 30.19 kB / 1.47 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.5473, allocations: 148.2 kB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.5492, allocations: 275.9 kB / 1.471 GB, free: 13.55 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.5507, allocations: 0.7372 MB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.5507, allocations: 70 kB / 1.471 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.5509, allocations: 88 kB / 1.471 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.5529, allocations: 1.271 MB / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5529, allocations: 0 / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.553, allocations: 43.94 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.5531, allocations: 24 kB / 1.473 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.5551, allocations: 1.171 MB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.5596, allocations: 2.399 MB / 1.476 GB, free: 7.555 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5613, allocations: 0.7855 MB / 1.477 GB, free: 6.758 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.5619, allocations: 286.7 kB / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.5624, allocations: 88.44 kB / 1.477 GB, free: 6.387 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5635, allocations: 0.5996 MB / 1.478 GB, free: 5.746 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.5635, allocations: 4 kB / 1.478 GB, free: 5.742 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003577/0.5671, allocations: 1.163 MB / 1.479 GB, free: 4.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.5672, allocations: 196.6 kB / 1.479 GB, free: 4.336 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5682, allocations: 0.6724 MB / 1.48 GB, free: 3.656 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.5683, allocations: 37.7 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.5687, allocations: 441 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.569, allocations: 277.7 kB / 1.481 GB, free: 2.902 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5693, allocations: 146.6 kB / 1.481 GB, free: 2.754 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.5695, allocations: 394.8 kB / 1.481 GB, free: 2.359 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.5701, allocations: 257.8 kB / 1.481 GB, free: 2.105 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007682/0.5708, allocations: 499 kB / 1.482 GB, free: 1.562 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.5721, allocations: 0.6111 MB / 1.482 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5721, allocations: 0 / 1.482 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002086/0.5741, allocations: 0.8335 MB / 1.483 GB, free: 100 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5742, allocations: 5.875 kB / 1.483 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5742, allocations: 0 / 1.483 GB, free: 96 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.5748, allocations: 84.88 kB / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.5755, allocations: 159.7 kB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.5779, allocations: 1.533 MB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.5787, allocations: 87.52 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.5788, allocations: 31.97 kB / 1.485 GB, free: 14.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: 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 (88): * Single equations (assignments): 87 * 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.0005473/0.5793, allocations: 269.7 kB / 1.485 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.5795, allocations: 103.4 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.5821, allocations: 1.097 MB / 1.487 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.5822, allocations: 8 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5822, allocations: 0 / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5822, allocations: 3.984 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.5858, allocations: 1.868 MB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5858, allocations: 3.938 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.5865, allocations: 151.7 kB / 1.489 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.5869, allocations: 76.72 kB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.587, allocations: 23.98 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.5891, allocations: 1.559 MB / 1.49 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5891, allocations: 0 / 1.49 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.5914, allocations: 1.026 MB / 1.491 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.5918, allocations: 215 kB / 1.491 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.592, allocations: 20 kB / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.5927, allocations: 59.94 kB / 1.491 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.5929, allocations: 80.78 kB / 1.491 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.5929, allocations: 39.98 kB / 1.492 GB, free: 7.281 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007285/0.5937, allocations: 487 kB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5937, allocations: 0 / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001028/0.5947, allocations: 355 kB / 1.492 GB, free: 6.461 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 (93): * Single equations (assignments): 87 * 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.004657/0.5994, allocations: 2.133 MB / 1.494 GB, free: 4.504 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.6012, allocations: 0.7999 MB / 1.495 GB, free: 3.695 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6012, allocations: 0 / 1.495 GB, free: 3.695 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6023, allocations: 0.5004 MB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6035, allocations: 303.5 kB / 1.496 GB, free: 2.91 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.6153, allocations: 6.522 MB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.6159, allocations: 461.6 kB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009708/0.6168, allocations: 275 kB / 1.503 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000694/0.6175, allocations: 423.2 kB / 1.503 GB, free: 11.07 MB / 1.201 GB Notification: Performance of SimCode: time 1.303e-06/0.6175, allocations: 0 / 1.503 GB, free: 11.07 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06101/0.6785, allocations: 24.18 MB / 1.527 GB, free: 3.262 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.38, allocations: 6.812 kB / 1.527 GB, free: 3.258 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.40091701701749]