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.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.001791/0.001791, allocations: 100.2 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.001833/0.001833, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.62/2.62, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.207/4.207, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0006998, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399/1.4, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006876/1.407, allocations: 3.712 MB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2609/1.668, allocations: 127.6 MB / 1.109 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.669, allocations: 11.94 kB / 1.109 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009676/1.67, allocations: 75.33 kB / 1.109 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/1.674, allocations: 497 kB / 1.11 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004697/1.679, allocations: 0.6516 MB / 1.11 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003603/1.683, allocations: 0.8299 MB / 1.111 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/1.685, allocations: 0.5424 MB / 1.112 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/1.686, allocations: 350.6 kB / 1.112 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/1.688, allocations: 358.1 kB / 1.112 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/1.688, allocations: 24 kB / 1.112 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/1.691, allocations: 327.5 kB / 1.113 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005837/1.691, allocations: 187.2 kB / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007131/1.692, allocations: 209 kB / 1.113 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/1.695, allocations: 1.231 MB / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.695, allocations: 0 / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.517e-06/1.695, allocations: 0 / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.284e-05/1.696, allocations: 0 / 1.114 GB, free: 13.39 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.00546/1.701, allocations: 1.274 MB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.426e-05/1.701, allocations: 8.031 kB / 1.115 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006781/1.702, allocations: 148 kB / 1.116 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/1.704, allocations: 226.3 kB / 1.116 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.707, allocations: 0.7342 MB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.707, allocations: 81.94 kB / 1.117 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004046/1.708, allocations: 88 kB / 1.117 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/1.712, allocations: 1.004 MB / 1.118 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/1.712, allocations: 0 / 1.118 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/1.712, allocations: 40 kB / 1.118 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/1.712, allocations: 24 kB / 1.118 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/1.716, allocations: 1.179 MB / 1.119 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/1.726, allocations: 2.743 MB / 1.122 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.729, allocations: 0.9124 MB / 1.122 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/1.73, allocations: 474.1 kB / 1.123 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/1.732, allocations: 0.4914 MB / 1.123 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.134e-05/1.732, allocations: 0 / 1.123 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.006756/1.739, allocations: 1.233 MB / 1.125 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/1.739, allocations: 192.6 kB / 1.125 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/1.742, allocations: 0.6372 MB / 1.125 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/1.742, allocations: 41.7 kB / 1.125 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/1.742, allocations: 424.2 kB / 1.126 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004853/1.743, allocations: 264.2 kB / 1.126 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/1.743, allocations: 16 kB / 1.126 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003338/1.743, allocations: 394.7 kB / 1.127 GB, free: 380 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.745, allocations: 249.9 kB / 1.127 GB, free: 128 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/1.746, allocations: 366.5 kB / 1.127 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/1.747, allocations: 294.9 kB / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.747, allocations: 0 / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003947/1.751, allocations: 0.8331 MB / 1.128 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/1.751, allocations: 8 kB / 1.128 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.751, allocations: 7.938 kB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.753, allocations: 84.77 kB / 1.128 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.754, allocations: 151.8 kB / 1.128 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/1.758, allocations: 1.553 MB / 1.13 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.76, allocations: 96.86 kB / 1.13 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.76, allocations: 35.97 kB / 1.13 GB, free: 12.54 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 ($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.001205/1.761, allocations: 269.7 kB / 1.13 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.762, allocations: 82.97 kB / 1.13 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/1.768, allocations: 1.113 MB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/1.768, allocations: 15.92 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.768, allocations: 0 / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.768, allocations: 3.984 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/1.775, allocations: 2.013 MB / 1.133 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.775, allocations: 4 kB / 1.133 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.777, allocations: 155.8 kB / 1.134 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009825/1.778, allocations: 84.72 kB / 1.134 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.778, allocations: 27.97 kB / 1.134 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/1.781, allocations: 1.559 MB / 1.135 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.781, allocations: 0 / 1.135 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/1.785, allocations: 1.023 MB / 1.136 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.787, allocations: 287.7 kB / 1.137 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.787, allocations: 16 kB / 1.137 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.789, allocations: 87.92 kB / 1.137 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/1.789, allocations: 72.91 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.789, allocations: 31.97 kB / 1.137 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001625/1.791, allocations: 467 kB / 1.137 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.61e-07/1.791, allocations: 0 / 1.137 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002315/1.793, allocations: 331 kB / 1.137 GB, free: 4.672 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 (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.007613/1.801, allocations: 2.093 MB / 1.14 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.805, allocations: 0.8235 MB / 1.14 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.805, allocations: 0 / 1.14 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.806, allocations: 0.5276 MB / 1.141 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.809, allocations: 248.9 kB / 1.141 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/1.834, allocations: 5.682 MB / 1.147 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/1.836, allocations: 1.067 MB / 1.148 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002781/1.839, allocations: 278.6 kB / 1.148 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.84, allocations: 405.7 kB / 1.148 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of SimCode: time 2.023e-06/1.84, allocations: 4 kB / 1.148 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09739/1.938, allocations: 21.81 MB / 1.17 GB, free: 4.168 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004588/1.938, allocations: 294 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.943/5.881, allocations: 2.656 kB / 1.17 GB, free: 3.809 MB / 0.92 GB (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/linux/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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat