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.0007953/0.0007952, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008458/0.0008458, allocations: 172.7 kB / 15.95 MB, free: 208 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.253/1.253, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 409.4 MB / 0.684 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005321, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7408, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007076/0.7479, allocations: 5.571 MB / 0.9866 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.9056, allocations: 137.8 MB / 1.121 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.9086, allocations: 23.88 kB / 1.121 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.91, allocations: 186.3 kB / 1.121 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.913, allocations: 0.5458 MB / 1.122 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.9164, allocations: 0.9802 MB / 1.123 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.9199, allocations: 2.27 MB / 1.125 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.9222, allocations: 1.195 MB / 1.126 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.9237, allocations: 0.7428 MB / 1.127 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.9253, allocations: 0.8785 MB / 1.128 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.9258, allocations: 67.94 kB / 1.128 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.9271, allocations: 395.7 kB / 1.128 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.9277, allocations: 390.2 kB / 1.129 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.9282, allocations: 388.5 kB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.9311, allocations: 2.591 MB / 1.131 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9311, allocations: 4 kB / 1.131 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9311, allocations: 0 / 1.131 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001115/0.9313, allocations: 4 kB / 1.131 GB, free: 11.84 MB / 0.8887 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.006157/0.9374, allocations: 2.293 MB / 1.134 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.9375, allocations: 12.03 kB / 1.134 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008123/0.9383, allocations: 316.7 kB / 1.134 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.9525, allocations: 2.299 MB / 1.136 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.9557, allocations: 1.224 MB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.956, allocations: 172.5 kB / 1.138 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008403/0.9568, allocations: 220 kB / 1.138 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.9669, allocations: 3.333 MB / 1.141 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.967, allocations: 0 / 1.141 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/0.9674, allocations: 96 kB / 1.141 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.9675, allocations: 55.94 kB / 1.141 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.9809, allocations: 4.33 MB / 1.145 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.9985, allocations: 7.36 MB / 1.153 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008466/1.007, allocations: 2.896 MB / 1.156 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/1.011, allocations: 1.493 MB / 1.157 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/1.012, allocations: 0.5035 MB / 1.157 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004997/1.017, allocations: 1.847 MB / 1.159 GB, free: 14.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 5.741e-06/1.017, allocations: 0 / 1.159 GB, free: 14.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.01375/1.031, allocations: 4.493 MB / 1.164 GB, free: 10.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.031, allocations: 201.9 kB / 1.164 GB, free: 10.19 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.033, allocations: 0.9296 MB / 1.165 GB, free: 9.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/1.033, allocations: 65.7 kB / 1.165 GB, free: 9.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/1.033, allocations: 0.7504 MB / 1.166 GB, free: 8.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/1.034, allocations: 0.6775 MB / 1.166 GB, free: 7.723 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/1.034, allocations: 40 kB / 1.166 GB, free: 7.684 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.035, allocations: 373.9 kB / 1.167 GB, free: 7.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.038, allocations: 1.241 MB / 1.168 GB, free: 6.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/1.042, allocations: 1.441 MB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/1.046, allocations: 1.275 MB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.046, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008866/1.055, allocations: 3.081 MB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.055, allocations: 8 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.055, allocations: 3.984 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/1.056, allocations: 92.83 kB / 1.174 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/1.059, allocations: 0.5967 MB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/1.061, allocations: 1.52 MB / 1.176 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.064, allocations: 386.1 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/1.064, allocations: 95.89 kB / 1.176 GB, free: 13.39 MB / 0.9356 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.00118/1.065, allocations: 443.8 kB / 1.177 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/1.066, allocations: 158 kB / 1.177 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.077, allocations: 3.743 MB / 1.18 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.077, allocations: 20.11 kB / 1.18 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.077, allocations: 11.94 kB / 1.18 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/1.077, allocations: 11.95 kB / 1.18 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/1.08, allocations: 2.463 MB / 1.183 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.08, allocations: 3.953 kB / 1.183 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00326/1.083, allocations: 0.5695 MB / 1.183 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/1.084, allocations: 88.77 kB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/1.084, allocations: 67.92 kB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.086, allocations: 1.555 MB / 1.185 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.086, allocations: 4 kB / 1.185 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009426/1.095, allocations: 3.226 MB / 1.188 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.097, allocations: 0.5684 MB / 1.189 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/1.098, allocations: 40 kB / 1.189 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/1.1, allocations: 296.3 kB / 1.189 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/1.101, allocations: 149.8 kB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/1.101, allocations: 95.91 kB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001355/1.102, allocations: 0.6841 MB / 1.19 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.102, allocations: 0 / 1.19 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002096/1.105, allocations: 0.6465 MB / 1.191 GB, free: 14.3 MB / 0.9512 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.01091/1.116, allocations: 4.323 MB / 1.195 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009501/1.125, allocations: 3.131 MB / 1.198 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.125, allocations: 3.938 kB / 1.198 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/1.13, allocations: 1.775 MB / 1.2 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.132, allocations: 334.7 kB / 1.2 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/1.163, allocations: 12.88 MB / 1.212 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.164, allocations: 1.43 MB / 1.214 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00382/1.168, allocations: 0.5791 MB / 1.214 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.169, allocations: 0.8662 MB / 1.215 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/1.169, allocations: 0 / 1.215 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5559/1.725, allocations: 41.75 MB / 1.256 GB, free: 260.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.726, allocations: 287.1 kB / 1.256 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/4.744, allocations: 0 / 1.256 GB, free: 259.9 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