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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001245/0.001245, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7321, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004156/0.7363, allocations: 3.707 MB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.8889, allocations: 127.6 MB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008512/0.8898, allocations: 15.94 kB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.8902, allocations: 75.28 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.8919, allocations: 0.4897 MB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.8937, allocations: 0.6351 MB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.8953, allocations: 0.8299 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/0.8961, allocations: 0.5462 MB / 1.084 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.8968, allocations: 358.5 kB / 1.085 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.8973, allocations: 350.1 kB / 1.085 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.8974, allocations: 24 kB / 1.085 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.8982, allocations: 327.6 kB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.8984, allocations: 191.2 kB / 1.086 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.8987, allocations: 205.1 kB / 1.086 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.9002, allocations: 1.235 MB / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9003, allocations: 0 / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9003, allocations: 0 / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.9003, allocations: 0 / 1.087 GB, free: 7.258 MB / 0.8419 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.002764/0.9031, allocations: 1.274 MB / 1.088 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9031, allocations: 12.03 kB / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.9033, allocations: 148 kB / 1.088 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.9045, allocations: 230.3 kB / 1.089 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.9059, allocations: 0.7303 MB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.906, allocations: 70 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.9061, allocations: 88 kB / 1.089 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.908, allocations: 1 MB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.908, allocations: 3.953 kB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.9081, allocations: 48 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.9082, allocations: 24 kB / 1.09 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.9101, allocations: 1.175 MB / 1.092 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004632/0.9148, allocations: 2.732 MB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.9165, allocations: 0.9143 MB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.9172, allocations: 474.1 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000969/0.9182, allocations: 0.5029 MB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.9182, allocations: 4 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003317/0.9215, allocations: 1.231 MB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.9217, allocations: 192.5 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.9226, allocations: 0.6372 MB / 1.098 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.9227, allocations: 45.64 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.923, allocations: 428.2 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.9233, allocations: 268.2 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.9233, allocations: 12 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.9235, allocations: 386.8 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.9242, allocations: 253.9 kB / 1.099 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.9248, allocations: 362.5 kB / 1.1 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.9254, allocations: 306.8 kB / 1.1 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9254, allocations: 0 / 1.1 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001971/0.9274, allocations: 0.8214 MB / 1.101 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.9274, allocations: 11.98 kB / 1.101 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.9275, allocations: 3.953 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.9281, allocations: 80.88 kB / 1.101 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.9287, allocations: 155.8 kB / 1.101 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.9309, allocations: 1.528 MB / 1.103 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.9318, allocations: 99.23 kB / 1.103 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.9319, allocations: 40.03 kB / 1.103 GB, free: 6.414 MB / 0.8575 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006446/0.9325, allocations: 269.6 kB / 1.103 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.9327, allocations: 86.95 kB / 1.103 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.9353, allocations: 1.116 MB / 1.104 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.9353, allocations: 8 kB / 1.104 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9353, allocations: 0 / 1.104 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.9353, allocations: 7.969 kB / 1.104 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.9391, allocations: 2.017 MB / 1.106 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9391, allocations: 7.922 kB / 1.106 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.9397, allocations: 147.8 kB / 1.106 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.9402, allocations: 84.77 kB / 1.106 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.9403, allocations: 27.94 kB / 1.106 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.9422, allocations: 1.556 MB / 1.108 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9423, allocations: 3.984 kB / 1.108 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.9445, allocations: 1.019 MB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.9451, allocations: 287.7 kB / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.9452, allocations: 28 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.9459, allocations: 82.11 kB / 1.109 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9461, allocations: 72.95 kB / 1.109 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.9462, allocations: 43.92 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006796/0.9469, allocations: 463 kB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9469, allocations: 3.938 kB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001006/0.9479, allocations: 327.1 kB / 1.11 GB, free: 14.54 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003797/0.9517, allocations: 2.078 MB / 1.112 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.9536, allocations: 0.8234 MB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.9536, allocations: 0 / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.9546, allocations: 0.5355 MB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.9559, allocations: 244.4 kB / 1.114 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.9681, allocations: 5.688 MB / 1.119 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.9691, allocations: 1.067 MB / 1.12 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9702, allocations: 262.7 kB / 1.121 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/0.9709, allocations: 409.9 kB / 1.121 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of SimCode: time 1.543e-06/0.9709, allocations: 3.938 kB / 1.121 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/1.017, allocations: 21.81 MB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.017, allocations: 294.7 kB / 1.143 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.541, allocations: 1 kB / 1.143 GB, free: 13.67 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat