Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_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.001314/0.001314, allocations: 99.86 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.001581/0.001582, 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.321/2.321, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.307/4.307, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006127/0.0006131, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.212, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008627/1.221, allocations: 5.435 MB / 0.9862 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2054/1.427, allocations: 128.6 MB / 1.112 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/1.43, allocations: 19.94 kB / 1.112 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/1.431, allocations: 118.8 kB / 1.112 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/1.437, allocations: 0.6719 MB / 1.112 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006262/1.443, allocations: 0.9824 MB / 1.113 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006117/1.449, allocations: 1.504 MB / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/1.453, allocations: 1.207 MB / 1.116 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/1.455, allocations: 0.7664 MB / 1.117 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/1.458, allocations: 0.8513 MB / 1.118 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009551/1.459, allocations: 67.94 kB / 1.118 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/1.462, allocations: 367.6 kB / 1.118 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008455/1.463, allocations: 390.3 kB / 1.118 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/1.464, allocations: 392.5 kB / 1.119 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004925/1.469, allocations: 2.591 MB / 1.121 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.469, allocations: 0 / 1.121 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.237e-06/1.469, allocations: 4 kB / 1.121 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.537e-05/1.469, allocations: 4 kB / 1.121 GB, free: 6.02 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01279/1.482, allocations: 2.297 MB / 1.124 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001034/1.482, allocations: 8.031 kB / 1.124 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00169/1.483, allocations: 320.7 kB / 1.124 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/1.511, allocations: 2.299 MB / 1.126 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/1.517, allocations: 1.22 MB / 1.127 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/1.517, allocations: 168.5 kB / 1.128 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/1.519, allocations: 216 kB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/1.534, allocations: 3.325 MB / 1.131 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/1.534, allocations: 0 / 1.131 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/1.534, allocations: 96 kB / 1.131 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/1.534, allocations: 52 kB / 1.131 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/1.557, allocations: 4.33 MB / 1.135 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/1.592, allocations: 7.353 MB / 1.143 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.609, allocations: 2.893 MB / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.611, allocations: 0.5035 MB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01077/1.622, allocations: 1.847 MB / 1.148 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 9.138e-06/1.622, allocations: 0 / 1.148 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.03111/1.653, allocations: 4.487 MB / 1.152 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003505/1.653, allocations: 201.9 kB / 1.152 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.656, allocations: 0.9335 MB / 1.153 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008952/1.657, allocations: 61.7 kB / 1.153 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.658, allocations: 0.7465 MB / 1.154 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/1.66, allocations: 0.6853 MB / 1.155 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.66, allocations: 36 kB / 1.155 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002717/1.66, allocations: 369.9 kB / 1.155 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/1.666, allocations: 1.245 MB / 1.156 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005849/1.672, allocations: 1.437 MB / 1.158 GB, free: 312 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/1.677, allocations: 1.271 MB / 1.159 GB, free: 15.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.677, allocations: 0 / 1.159 GB, free: 15.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0192/1.696, allocations: 3.089 MB / 1.162 GB, free: 11.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/1.696, allocations: 8 kB / 1.162 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/1.696, allocations: 0 / 1.162 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.698, allocations: 88.83 kB / 1.162 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008416/1.706, allocations: 0.6046 MB / 1.163 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.709, allocations: 1.533 MB / 1.164 GB, free: 9.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006641/1.716, allocations: 382.1 kB / 1.164 GB, free: 9.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.717, allocations: 91.91 kB / 1.164 GB, free: 9.098 MB / 0.92 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.002506/1.719, allocations: 435.9 kB / 1.165 GB, free: 8.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009244/1.72, allocations: 166 kB / 1.165 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02205/1.742, allocations: 3.743 MB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.547e-05/1.742, allocations: 24 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.742, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-05/1.742, allocations: 11.95 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/1.747, allocations: 2.467 MB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.747, allocations: 4 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/1.751, allocations: 0.5694 MB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/1.751, allocations: 88.77 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/1.752, allocations: 75.91 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/1.754, allocations: 1.563 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.754, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.766, allocations: 3.222 MB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.768, allocations: 0.5762 MB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/1.768, allocations: 44 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003208/1.772, allocations: 291.7 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/1.772, allocations: 153.8 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.772, allocations: 95.91 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001406/1.774, allocations: 0.688 MB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.774, allocations: 0 / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002427/1.776, allocations: 0.6348 MB / 1.179 GB, free: 9.992 MB / 0.9356 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.01426/1.791, allocations: 4.324 MB / 1.183 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01984/1.81, allocations: 3.139 MB / 1.186 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/1.811, allocations: 0 / 1.186 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/1.821, allocations: 1.767 MB / 1.188 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.824, allocations: 298.6 kB / 1.188 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/1.884, allocations: 13.71 MB / 1.202 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.886, allocations: 1.469 MB / 1.203 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.007098/1.893, allocations: 0.5753 MB / 1.204 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003128/1.896, allocations: 0.8662 MB / 1.205 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of SimCode: time 2.985e-06/1.896, allocations: 0 / 1.205 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/2.041, allocations: 41.7 MB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004867/2.042, allocations: 284.2 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.302/7.344, allocations: 0 / 1.245 GB, free: 5.945 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat