Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001008/0.001008, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 200 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.426 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.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7212, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005486/0.7267, allocations: 5.568 MB / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.8988, allocations: 137.8 MB / 1.094 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.9002, allocations: 19.88 kB / 1.094 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.9009, allocations: 186.3 kB / 1.094 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.9029, allocations: 0.55 MB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.9054, allocations: 0.9757 MB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00309/0.9085, allocations: 2.274 MB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.9101, allocations: 1.195 MB / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.9113, allocations: 0.735 MB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.9124, allocations: 0.8823 MB / 1.101 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.9125, allocations: 68 kB / 1.101 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.9135, allocations: 399.6 kB / 1.101 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.9139, allocations: 386.2 kB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.9142, allocations: 388.5 kB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.9166, allocations: 2.595 MB / 1.104 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9166, allocations: 0 / 1.104 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9166, allocations: 0 / 1.104 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.123e-05/0.9167, allocations: 0 / 1.104 GB, free: 5.695 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004871/0.9215, allocations: 2.297 MB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9216, allocations: 12.03 kB / 1.106 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000441/0.922, allocations: 316.7 kB / 1.107 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.9367, allocations: 2.295 MB / 1.109 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.9395, allocations: 1.236 MB / 1.11 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.9397, allocations: 164.5 kB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/0.9402, allocations: 220 kB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008637/0.9489, allocations: 3.337 MB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.949, allocations: 0 / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.9492, allocations: 92 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.9493, allocations: 59.98 kB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.9615, allocations: 4.33 MB / 1.118 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.9785, allocations: 7.353 MB / 1.125 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.987, allocations: 2.89 MB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004509/0.9916, allocations: 1.493 MB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/0.9924, allocations: 0.5074 MB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004865/0.9973, allocations: 1.848 MB / 1.132 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 3.847e-06/0.9973, allocations: 3.938 kB / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.01353/1.011, allocations: 4.485 MB / 1.136 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.011, allocations: 209.9 kB / 1.137 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/1.013, allocations: 0.9374 MB / 1.137 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/1.013, allocations: 61.7 kB / 1.138 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/1.014, allocations: 0.7465 MB / 1.138 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006681/1.014, allocations: 0.6814 MB / 1.139 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.014, allocations: 36 kB / 1.139 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.015, allocations: 377.9 kB / 1.139 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.018, allocations: 1.241 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/1.022, allocations: 1.433 MB / 1.142 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/1.026, allocations: 1.279 MB / 1.143 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.026, allocations: 0 / 1.143 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009383/1.036, allocations: 3.085 MB / 1.146 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.036, allocations: 4 kB / 1.146 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.036, allocations: 7.953 kB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/1.036, allocations: 84.84 kB / 1.146 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003608/1.04, allocations: 0.5968 MB / 1.147 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.042, allocations: 1.528 MB / 1.148 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/1.045, allocations: 380.2 kB / 1.149 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.046, allocations: 95.89 kB / 1.149 GB, free: 7.238 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001122/1.047, allocations: 431.6 kB / 1.149 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/1.047, allocations: 162 kB / 1.149 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.058, allocations: 3.743 MB / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/1.058, allocations: 31.88 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.058, allocations: 0 / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/1.058, allocations: 11.95 kB / 1.153 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/1.062, allocations: 2.467 MB / 1.155 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.062, allocations: 0 / 1.155 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/1.065, allocations: 0.5656 MB / 1.156 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/1.066, allocations: 88.77 kB / 1.156 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.066, allocations: 75.91 kB / 1.156 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/1.068, allocations: 1.548 MB / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.068, allocations: 0 / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009464/1.077, allocations: 3.226 MB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.078, allocations: 0.5762 MB / 1.161 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.079, allocations: 47.94 kB / 1.161 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/1.081, allocations: 291.7 kB / 1.162 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/1.082, allocations: 153.8 kB / 1.162 GB, free: 9.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.082, allocations: 99.84 kB / 1.162 GB, free: 9.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001057/1.083, allocations: 0.688 MB / 1.163 GB, free: 8.789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.083, allocations: 0 / 1.163 GB, free: 8.789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00193/1.085, allocations: 0.6348 MB / 1.163 GB, free: 8.152 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01149/1.096, allocations: 4.325 MB / 1.168 GB, free: 3.984 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.107, allocations: 3.139 MB / 1.171 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.107, allocations: 4.25 kB / 1.171 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.112, allocations: 1.755 MB / 1.172 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.113, allocations: 340.4 kB / 1.173 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0337/1.147, allocations: 12.89 MB / 1.185 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/1.149, allocations: 1.43 MB / 1.187 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004131/1.153, allocations: 0.5753 MB / 1.187 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.155, allocations: 0.8623 MB / 1.188 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of SimCode: time 2.084e-06/1.155, allocations: 0 / 1.188 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08807/1.243, allocations: 41.75 MB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/1.243, allocations: 284.1 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.071/4.314, allocations: 8 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat