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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009204/0.0009203, allocations: 180.6 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 99.78 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.6e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.759/3.966, allocations: 1.734 GB / 2.94 GB, free: 149.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/3.966, allocations: 86.66 kB / 2.941 GB, free: 149.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1997/4.166, allocations: 98.76 MB / 3.037 GB, free: 50.21 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.823e-06/4.166, allocations: 0 / 3.037 GB, free: 50.21 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000101/4.166, allocations: 44 kB / 3.037 GB, free: 50.17 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.003171/4.169, allocations: 1.92 MB / 3.039 GB, free: 48.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/4.169, allocations: 16.03 kB / 3.039 GB, free: 48.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/4.18, allocations: 1.886 MB / 3.041 GB, free: 46.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/4.182, allocations: 1.059 MB / 3.042 GB, free: 45.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/4.182, allocations: 64 kB / 3.042 GB, free: 45.12 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/4.182, allocations: 112 kB / 3.042 GB, free: 45.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003706/4.186, allocations: 2.85 MB / 3.045 GB, free: 42.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/4.189, allocations: 2.173 MB / 3.047 GB, free: 39.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/4.189, allocations: 0 / 3.047 GB, free: 39.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/4.189, allocations: 0 / 3.047 GB, free: 39.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/4.189, allocations: 48 kB / 3.047 GB, free: 39.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/4.2, allocations: 6.399 MB / 3.053 GB, free: 33.44 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/4.203, allocations: 1.892 MB / 3.055 GB, free: 31.53 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/4.204, allocations: 1.001 MB / 3.056 GB, free: 30.53 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/4.204, allocations: 0.5035 MB / 3.056 GB, free: 29.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/4.206, allocations: 1.27 MB / 3.058 GB, free: 28.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 3.046e-06/4.206, allocations: 0 / 3.058 GB, free: 28.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.01071/4.217, allocations: 3.659 MB / 3.061 GB, free: 24.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/4.217, allocations: 253.3 kB / 3.062 GB, free: 24.67 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/4.217, allocations: 0.6293 MB / 3.062 GB, free: 24.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/4.217, allocations: 29.69 kB / 3.062 GB, free: 24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/4.218, allocations: 0.6526 MB / 3.063 GB, free: 23.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/4.218, allocations: 0.6041 MB / 3.063 GB, free: 22.72 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/4.218, allocations: 0 / 3.063 GB, free: 22.72 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001323/4.219, allocations: 426.7 kB / 3.064 GB, free: 22.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009956/4.22, allocations: 0.7655 MB / 3.065 GB, free: 21.53 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/4.221, allocations: 0.9345 MB / 3.065 GB, free: 20.56 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008406/4.229, allocations: 2.457 MB / 3.068 GB, free: 18.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/4.229, allocations: 0 / 3.068 GB, free: 18.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01071/4.24, allocations: 3.69 MB / 3.071 GB, free: 14.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/4.24, allocations: 8 kB / 3.071 GB, free: 14.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/4.24, allocations: 4 kB / 3.071 GB, free: 14.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/4.24, allocations: 88.92 kB / 3.072 GB, free: 14.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/4.244, allocations: 0.5695 MB / 3.072 GB, free: 13.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/4.245, allocations: 1.458 MB / 3.074 GB, free: 12.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/4.247, allocations: 290.6 kB / 3.074 GB, free: 11.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/4.248, allocations: 92 kB / 3.074 GB, free: 11.78 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 205 * 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.0003383/4.248, allocations: 132.6 kB / 3.074 GB, free: 11.64 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01035/4.258, allocations: 3.655 MB / 3.078 GB, free: 7.973 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/4.259, allocations: 130.4 kB / 3.078 GB, free: 7.844 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/4.271, allocations: 4.252 MB / 3.082 GB, free: 3.574 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/4.271, allocations: 23.95 kB / 3.082 GB, free: 3.551 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/4.271, allocations: 0 / 3.082 GB, free: 3.551 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/4.271, allocations: 11.95 kB / 3.082 GB, free: 3.539 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5286/4.799, allocations: 6.27 MB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/4.799, allocations: 0.75 kB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/4.803, allocations: 0.5513 MB / 3.089 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/4.803, allocations: 86.5 kB / 3.089 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/4.804, allocations: 51.17 kB / 3.089 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/4.805, allocations: 1.474 MB / 3.09 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/4.805, allocations: 1.25 kB / 3.09 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/4.818, allocations: 3.837 MB / 3.094 GB, free: 379.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/4.819, allocations: 0.5325 MB / 3.094 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/4.819, allocations: 2.953 kB / 3.094 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/4.821, allocations: 230.8 kB / 3.095 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/4.822, allocations: 127.9 kB / 3.095 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/4.822, allocations: 82.17 kB / 3.095 GB, free: 379.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007106/4.823, allocations: 0.536 MB / 3.095 GB, free: 379.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.723e-06/4.823, allocations: 0 / 3.095 GB, free: 379.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001797/4.825, allocations: 0.5905 MB / 3.096 GB, free: 379.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01442/4.839, allocations: 5.402 MB / 3.101 GB, free: 378.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003404/4.842, allocations: 2.121 MB / 3.103 GB, free: 378.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/4.842, allocations: 0.75 kB / 3.103 GB, free: 378.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/4.844, allocations: 1.24 MB / 3.105 GB, free: 378.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/4.846, allocations: 240.7 kB / 3.105 GB, free: 378.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/4.852, allocations: 3.008 MB / 3.108 GB, free: 377.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009596/4.853, allocations: 1.372 MB / 3.109 GB, free: 376.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003159/4.856, allocations: 0.5477 MB / 3.11 GB, free: 376.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/4.858, allocations: 0.7645 MB / 3.11 GB, free: 376.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/4.858, allocations: 0 / 3.11 GB, free: 376.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07072/4.929, allocations: 40.96 MB / 3.15 GB, free: 374.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/4.929, allocations: 190.3 kB / 3.15 GB, free: 373.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.773/8.702, allocations: 0 / 3.15 GB, free: 373.9 MB / 1.151 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