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.001293/0.001293, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001526/0.001526, allocations: 220.3 kB / 22.25 MB, free: 5.258 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.785 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.09/3.09, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.00195/0.00195, allocations: 68.91 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006984/0.3441, allocations: 4.698 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5129, allocations: 132.8 MB / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.5138, allocations: 23.81 kB / 1.46 GB, free: 7.488 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.5145, allocations: 198.1 kB / 1.46 GB, free: 7.293 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.5165, allocations: 0.5988 MB / 1.461 GB, free: 6.695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.5187, allocations: 0.8866 MB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5205, allocations: 1.475 MB / 1.463 GB, free: 4.336 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008317/0.5214, allocations: 468.7 kB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008862/0.5222, allocations: 0.5528 MB / 1.464 GB, free: 3.297 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.5229, allocations: 0.5601 MB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.5231, allocations: 124 kB / 1.465 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5242, allocations: 0.5269 MB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.5245, allocations: 334.9 kB / 1.466 GB, free: 1.758 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.525, allocations: 0.4899 MB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.5274, allocations: 1.817 MB / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5274, allocations: 0 / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5274, allocations: 0 / 1.468 GB, free: 15.44 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.5274, allocations: 7.875 kB / 1.468 GB, free: 15.43 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.002985/0.5304, allocations: 1.489 MB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5304, allocations: 12.03 kB / 1.469 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.5306, allocations: 152.1 kB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.5325, allocations: 279.9 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.534, allocations: 0.7336 MB / 1.471 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.534, allocations: 70 kB / 1.471 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.5342, allocations: 92 kB / 1.471 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.5363, allocations: 1.267 MB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.5363, allocations: 3.938 kB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5364, allocations: 43.98 kB / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.5364, allocations: 24 kB / 1.472 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.5385, allocations: 1.136 MB / 1.473 GB, free: 9.969 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.5429, allocations: 2.396 MB / 1.475 GB, free: 7.508 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.5446, allocations: 0.7855 MB / 1.476 GB, free: 6.711 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.5452, allocations: 298.7 kB / 1.477 GB, free: 6.414 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.5457, allocations: 80.56 kB / 1.477 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.5467, allocations: 0.5957 MB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/0.5467, allocations: 0 / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003478/0.5502, allocations: 1.167 MB / 1.478 GB, free: 4.523 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5503, allocations: 192.6 kB / 1.478 GB, free: 4.293 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.5513, allocations: 0.6723 MB / 1.479 GB, free: 3.613 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.5513, allocations: 45.69 kB / 1.479 GB, free: 3.562 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.5517, allocations: 433 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.552, allocations: 281.6 kB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.5522, allocations: 154.6 kB / 1.48 GB, free: 2.699 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.5525, allocations: 386.8 kB / 1.48 GB, free: 2.312 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.553, allocations: 257.9 kB / 1.481 GB, free: 2.059 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.5538, allocations: 0.4989 MB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.555, allocations: 0.6033 MB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.555, allocations: 0 / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002034/0.557, allocations: 0.8335 MB / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.557, allocations: 4 kB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.557, allocations: 7.984 kB / 1.483 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.5577, allocations: 84.86 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.5584, allocations: 155.8 kB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.5607, allocations: 1.523 MB / 1.484 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.5614, allocations: 93.38 kB / 1.484 GB, free: 14.06 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.5615, allocations: 35.97 kB / 1.484 GB, free: 14.03 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.0004514/0.5619, allocations: 269.7 kB / 1.485 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5621, allocations: 95.44 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.5646, allocations: 1.101 MB / 1.486 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5647, allocations: 8 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.5647, allocations: 0 / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5647, allocations: 7.969 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.5681, allocations: 1.86 MB / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5681, allocations: 0 / 1.488 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.5688, allocations: 155.7 kB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.5692, allocations: 76.86 kB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.5693, allocations: 23.98 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.5713, allocations: 1.543 MB / 1.489 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.5713, allocations: 12.11 kB / 1.489 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.5736, allocations: 1.03 MB / 1.49 GB, free: 7.637 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.5741, allocations: 207 kB / 1.491 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5742, allocations: 27.92 kB / 1.491 GB, free: 7.406 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.5749, allocations: 59.94 kB / 1.491 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.575, allocations: 76.8 kB / 1.491 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.5751, allocations: 39.97 kB / 1.491 GB, free: 7.234 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006609/0.5758, allocations: 487 kB / 1.491 GB, free: 6.766 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5758, allocations: 0 / 1.491 GB, free: 6.766 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009899/0.5768, allocations: 359 kB / 1.492 GB, free: 6.414 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.004414/0.5812, allocations: 2.135 MB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.583, allocations: 0.796 MB / 1.494 GB, free: 3.652 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.583, allocations: 0 / 1.494 GB, free: 3.652 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.5839, allocations: 0.5081 MB / 1.495 GB, free: 3.133 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5851, allocations: 298.6 kB / 1.495 GB, free: 2.859 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.5961, allocations: 6.516 MB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.5966, allocations: 463.6 kB / 1.502 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008258/0.5975, allocations: 270.9 kB / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.5981, allocations: 423.2 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of SimCode: time 9.51e-07/0.5981, allocations: 0 / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.663, allocations: 24.65 MB / 1.527 GB, free: 2.688 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.9, allocations: 2.062 kB / 1.527 GB, free: 2.688 MB / 1.217 GB " [Timeout remaining time 286] (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: 20.590256944007706]