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.001092/0.001093, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001426/0.001427, allocations: 168.7 kB / 15.95 MB, free: 204 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.332 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.403/2.403, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7386, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005/0.7437, allocations: 3.796 MB / 0.9576 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.9072, allocations: 136.8 MB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/0.9081, allocations: 15.94 kB / 1.091 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.9088, allocations: 126.9 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.9105, allocations: 419.6 kB / 1.092 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.9126, allocations: 0.6479 MB / 1.092 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.9142, allocations: 1.141 MB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.9152, allocations: 0.5579 MB / 1.094 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.9159, allocations: 346.4 kB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.9166, allocations: 374 kB / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.9167, allocations: 31.98 kB / 1.095 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.9178, allocations: 347.7 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.9181, allocations: 203 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.9184, allocations: 201.1 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.9203, allocations: 1.231 MB / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9203, allocations: 0 / 1.097 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9203, allocations: 4 kB / 1.097 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.9204, allocations: 0 / 1.097 GB, free: 13.43 MB / 0.8575 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.003984/0.9244, allocations: 1.27 MB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.9245, allocations: 8.031 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004599/0.9249, allocations: 156 kB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.9268, allocations: 226.3 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.929, allocations: 0.7264 MB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.9292, allocations: 70 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.9294, allocations: 92 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.9326, allocations: 1.016 MB / 1.1 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.9326, allocations: 3.953 kB / 1.1 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.9328, allocations: 44 kB / 1.1 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.9328, allocations: 24 kB / 1.1 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.936, allocations: 1.171 MB / 1.101 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00679/0.9428, allocations: 2.735 MB / 1.104 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.9455, allocations: 0.9062 MB / 1.105 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.9464, allocations: 318.8 kB / 1.105 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/0.9473, allocations: 470.1 kB / 1.106 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.9487, allocations: 0.503 MB / 1.106 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/0.9487, allocations: 3.938 kB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.00466/0.9534, allocations: 1.238 MB / 1.107 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.9535, allocations: 192.5 kB / 1.108 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.9548, allocations: 0.6294 MB / 1.108 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.9549, allocations: 41.7 kB / 1.108 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.9555, allocations: 428.2 kB / 1.109 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.9558, allocations: 264.2 kB / 1.109 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.9559, allocations: 16 kB / 1.109 GB, free: 492 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.9561, allocations: 386.8 kB / 1.109 GB, free: 96 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.957, allocations: 261.9 kB / 1.109 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.958, allocations: 366.5 kB / 1.11 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.959, allocations: 302.9 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.959, allocations: 0 / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002817/0.9619, allocations: 0.8175 MB / 1.111 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.9619, allocations: 11.95 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.9619, allocations: 4.078 kB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.9626, allocations: 80.78 kB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9637, allocations: 167.8 kB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.9667, allocations: 1.522 MB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.9678, allocations: 103.3 kB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.9679, allocations: 31.98 kB / 1.113 GB, free: 12.27 MB / 0.8731 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.0006898/0.9686, allocations: 269.7 kB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.9688, allocations: 86.92 kB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/0.9726, allocations: 1.108 MB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.9727, allocations: 12 kB / 1.114 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9727, allocations: 0 / 1.114 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.9727, allocations: 4.078 kB / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.9777, allocations: 2.013 MB / 1.116 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9777, allocations: 0 / 1.116 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/0.9784, allocations: 159.8 kB / 1.116 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.9789, allocations: 88.67 kB / 1.116 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.979, allocations: 27.97 kB / 1.116 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.9812, allocations: 1.544 MB / 1.118 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9813, allocations: 0 / 1.118 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.9836, allocations: 1.023 MB / 1.119 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.9843, allocations: 287.7 kB / 1.119 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.9845, allocations: 20 kB / 1.119 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.9852, allocations: 82.11 kB / 1.119 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.9854, allocations: 72.89 kB / 1.119 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/0.9855, allocations: 39.97 kB / 1.119 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001018/0.9865, allocations: 463 kB / 1.12 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.91e-07/0.9865, allocations: 0 / 1.12 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001337/0.9879, allocations: 335.1 kB / 1.12 GB, free: 4.422 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.004721/0.9926, allocations: 2.092 MB / 1.122 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.9947, allocations: 0.8274 MB / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.9947, allocations: 0 / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.9959, allocations: 0.5275 MB / 1.124 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.9976, allocations: 255.9 kB / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.01, allocations: 5.287 MB / 1.129 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/1.011, allocations: 1.043 MB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001077/1.012, allocations: 266.7 kB / 1.13 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/1.013, allocations: 407.3 kB / 1.131 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of SimCode: time 1.032e-06/1.013, allocations: 0 / 1.131 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/1.07, allocations: 21.85 MB / 1.152 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/1.07, allocations: 298.5 kB / 1.152 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.511, allocations: 4.125 kB / 1.152 GB, free: 3.934 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