Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 196 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5288, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004663/0.5335, allocations: 4.407 MB / 0.954 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.67, allocations: 150.6 MB / 1.101 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.671, allocations: 23.88 kB / 1.101 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.6717, allocations: 174.4 kB / 1.101 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.6735, allocations: 0.4967 MB / 1.102 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.6755, allocations: 0.8642 MB / 1.103 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.6769, allocations: 1.32 MB / 1.104 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.6777, allocations: 0.6986 MB / 1.105 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.6783, allocations: 498.3 kB / 1.105 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.6787, allocations: 0.5366 MB / 1.106 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.6789, allocations: 124 kB / 1.106 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.6797, allocations: 491.7 kB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.6799, allocations: 315 kB / 1.107 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.6803, allocations: 0.5907 MB / 1.107 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.6818, allocations: 1.675 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6818, allocations: 0 / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6818, allocations: 0 / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.6818, allocations: 3.984 kB / 1.109 GB, free: 14.4 MB / 0.8731 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.002147/0.684, allocations: 1.485 MB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.684, allocations: 8.031 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6842, allocations: 152.2 kB / 1.11 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6852, allocations: 215.3 kB / 1.111 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.6861, allocations: 0.7614 MB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.6861, allocations: 73.94 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6862, allocations: 96 kB / 1.111 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6877, allocations: 1.016 MB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6877, allocations: 0 / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.6878, allocations: 36 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.6878, allocations: 24 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.6895, allocations: 1.175 MB / 1.114 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.6931, allocations: 2.694 MB / 1.116 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.6946, allocations: 0.9225 MB / 1.117 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.6952, allocations: 306.7 kB / 1.117 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.6958, allocations: 474.1 kB / 1.118 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008151/0.6966, allocations: 0.4991 MB / 1.118 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.6966, allocations: 4 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002944/0.6995, allocations: 1.225 MB / 1.12 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.6996, allocations: 192.5 kB / 1.12 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.7003, allocations: 0.6411 MB / 1.12 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.7004, allocations: 41.7 kB / 1.12 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.7006, allocations: 428.2 kB / 1.121 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.7008, allocations: 272.1 kB / 1.121 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.701, allocations: 146.5 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7011, allocations: 386.7 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.7016, allocations: 253.9 kB / 1.122 GB, free: 488 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.7022, allocations: 370.5 kB / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.7033, allocations: 0.5995 MB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7033, allocations: 0 / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001756/0.705, allocations: 0.8252 MB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7051, allocations: 9.719 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7051, allocations: 0 / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.7056, allocations: 80.88 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.7062, allocations: 155.8 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.708, allocations: 1.635 MB / 1.125 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.7087, allocations: 93.45 kB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.7087, allocations: 31.98 kB / 1.126 GB, free: 12.49 MB / 0.8887 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.0003539/0.7091, allocations: 269.6 kB / 1.126 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.7092, allocations: 86.97 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.7115, allocations: 1.101 MB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.7115, allocations: 12 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.7115, allocations: 0 / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7115, allocations: 3.984 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.7145, allocations: 2.021 MB / 1.129 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7145, allocations: 0 / 1.129 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.7151, allocations: 147.8 kB / 1.129 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.7155, allocations: 72.78 kB / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.7156, allocations: 23.98 kB / 1.129 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.7173, allocations: 1.67 MB / 1.131 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7173, allocations: 0 / 1.131 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.7192, allocations: 1.012 MB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.7196, allocations: 275.7 kB / 1.132 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7197, allocations: 27.92 kB / 1.132 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.7203, allocations: 63.94 kB / 1.132 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.7205, allocations: 80.77 kB / 1.132 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.7205, allocations: 35.98 kB / 1.132 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005043/0.721, allocations: 471 kB / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7211, allocations: 4 kB / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007695/0.7218, allocations: 327.2 kB / 1.133 GB, free: 4.562 MB / 0.8887 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.003214/0.725, allocations: 2.09 MB / 1.135 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.7273, allocations: 1.026 MB / 1.136 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7273, allocations: 4 kB / 1.136 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.7282, allocations: 0.5277 MB / 1.137 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.7293, allocations: 297 kB / 1.137 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.7394, allocations: 6.758 MB / 1.143 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.7399, allocations: 1.043 MB / 1.145 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007841/0.7407, allocations: 266.7 kB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.7412, allocations: 407.3 kB / 1.145 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.7412, allocations: 0 / 1.145 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.7838, allocations: 21.67 MB / 1.166 GB, free: 2.816 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.14, allocations: 11.56 kB / 1.166 GB, free: 2.809 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR