Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001729/0.001729, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002234/0.002234, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.143/3.143, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.001927/0.001927, allocations: 62.94 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007315/0.3417, allocations: 4.676 MB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5206, allocations: 132.7 MB / 1.479 GB, free: 6.043 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.5216, allocations: 23.81 kB / 1.479 GB, free: 6.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.5223, allocations: 210.1 kB / 1.48 GB, free: 5.812 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.5241, allocations: 0.5938 MB / 1.48 GB, free: 5.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.5262, allocations: 0.8921 MB / 1.481 GB, free: 4.332 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.528, allocations: 1.475 MB / 1.483 GB, free: 2.848 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008292/0.5288, allocations: 476.6 kB / 1.483 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.5296, allocations: 0.5412 MB / 1.484 GB, free: 1.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.5303, allocations: 0.56 MB / 1.484 GB, free: 1.258 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.5305, allocations: 128 kB / 1.484 GB, free: 1.133 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.5315, allocations: 0.5309 MB / 1.485 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.5319, allocations: 315 kB / 1.485 GB, free: 300 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.5324, allocations: 0.4976 MB / 1.485 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.5346, allocations: 1.821 MB / 1.487 GB, free: 13.96 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5346, allocations: 0 / 1.487 GB, free: 13.96 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5346, allocations: 0 / 1.487 GB, free: 13.96 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.5346, allocations: 0 / 1.487 GB, free: 13.96 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002721/0.5373, allocations: 1.493 MB / 1.489 GB, free: 12.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5374, allocations: 8.031 kB / 1.489 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.435e-05/0.5374, allocations: 34.19 kB / 1.489 GB, free: 12.39 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.5376, allocations: 148.2 kB / 1.489 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.5489, allocations: 1.799 MB / 1.491 GB, free: 10.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.5505, allocations: 0.7606 MB / 1.491 GB, free: 9.652 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.5506, allocations: 77.98 kB / 1.491 GB, free: 9.574 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.5508, allocations: 88 kB / 1.492 GB, free: 9.488 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.557, allocations: 2.129 MB / 1.494 GB, free: 7.258 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.557, allocations: 0 / 1.494 GB, free: 7.258 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.5571, allocations: 44 kB / 1.494 GB, free: 7.215 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5572, allocations: 20 kB / 1.494 GB, free: 7.195 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.5674, allocations: 2.794 MB / 1.496 GB, free: 4.398 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.5778, allocations: 4.682 MB / 1.501 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.5835, allocations: 1.594 MB / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/0.5881, allocations: 1.088 MB / 1.504 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.646e-05/0.5882, allocations: 36.5 kB / 1.504 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005279/0.5935, allocations: 1.448 MB / 1.505 GB, free: 10.81 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/0.5935, allocations: 0 / 1.505 GB, free: 10.81 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.01524/0.6087, allocations: 3.476 MB / 1.508 GB, free: 7.324 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.6089, allocations: 196.6 kB / 1.509 GB, free: 7.09 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.61, allocations: 0.6685 MB / 1.509 GB, free: 6.41 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.6102, allocations: 45.7 kB / 1.509 GB, free: 6.359 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.6106, allocations: 437 kB / 1.51 GB, free: 5.926 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.6109, allocations: 277.7 kB / 1.51 GB, free: 5.652 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.6113, allocations: 162.5 kB / 1.51 GB, free: 5.484 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.6115, allocations: 386.8 kB / 1.511 GB, free: 5.098 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/0.616, allocations: 1.06 MB / 1.512 GB, free: 4.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.6208, allocations: 1.299 MB / 1.513 GB, free: 2.684 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.6294, allocations: 1.966 MB / 1.515 GB, free: 0.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.6294, allocations: 0 / 1.515 GB, free: 0.707 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009647/0.6391, allocations: 2.332 MB / 1.517 GB, free: 14.36 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.6391, allocations: 7.984 kB / 1.517 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6391, allocations: 4 kB / 1.517 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.6397, allocations: 80.84 kB / 1.517 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.6422, allocations: 475.5 kB / 1.518 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.6447, allocations: 1.531 MB / 1.519 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/0.6474, allocations: 417.1 kB / 1.52 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6475, allocations: 31.97 kB / 1.52 GB, free: 11.71 MB / 1.217 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.0005914/0.6481, allocations: 265.7 kB / 1.52 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.6484, allocations: 87.44 kB / 1.52 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.6589, allocations: 2.666 MB / 1.522 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.6589, allocations: 8 kB / 1.522 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6589, allocations: 0 / 1.522 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6589, allocations: 11.92 kB / 1.522 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.6714, allocations: 4.231 MB / 1.527 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6714, allocations: 0 / 1.527 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/0.6739, allocations: 471.4 kB / 1.527 GB, free: 3.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.6744, allocations: 72.78 kB / 1.527 GB, free: 3.527 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.6745, allocations: 27.97 kB / 1.527 GB, free: 3.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.6766, allocations: 1.551 MB / 1.529 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6766, allocations: 0 / 1.529 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.6869, allocations: 2.532 MB / 1.531 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.6877, allocations: 231.2 kB / 1.531 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.6879, allocations: 20 kB / 1.531 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.6905, allocations: 391.7 kB / 1.532 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.6907, allocations: 76.8 kB / 1.532 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6908, allocations: 39.97 kB / 1.532 GB, free: 14.53 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008362/0.6917, allocations: 487 kB / 1.532 GB, free: 14.06 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6917, allocations: 4 kB / 1.532 GB, free: 14.06 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001183/0.6928, allocations: 371.1 kB / 1.533 GB, free: 13.7 MB / 1.232 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.01254/0.7054, allocations: 3.621 MB / 1.536 GB, free: 10.25 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.7158, allocations: 2.42 MB / 1.539 GB, free: 7.82 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7158, allocations: 3.938 kB / 1.539 GB, free: 7.816 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005198/0.721, allocations: 1.312 MB / 1.54 GB, free: 6.496 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.7224, allocations: 308.4 kB / 1.54 GB, free: 6.211 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.7591, allocations: 11.3 MB / 1.551 GB, free: 10.75 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.7598, allocations: 461.6 kB / 1.552 GB, free: 10.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001492/0.7613, allocations: 318.9 kB / 1.552 GB, free: 9.957 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.7622, allocations: 423.2 kB / 1.552 GB, free: 9.543 MB / 1.248 GB Notification: Performance of SimCode: time 1.964e-06/0.7622, allocations: 0 / 1.552 GB, free: 9.543 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/0.8553, allocations: 26.48 MB / 1.578 GB, free: 15.39 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.62, allocations: 9.781 kB / 1.578 GB, free: 15.38 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.603909012977965]