Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.188/2.188, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001155/0.001155, allocations: 196.1 kB / 498.1 MB, free: 5.668 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.504/1.504, allocations: 223.1 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008836, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.564/4.846, allocations: 1.733 GB / 2.956 GB, free: 250.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/4.847, allocations: 101.8 kB / 2.956 GB, free: 250.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1799/5.026, allocations: 84.4 MB / 3.039 GB, free: 177.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.384e-06/5.027, allocations: 0 / 3.039 GB, free: 177.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.238e-05/5.027, allocations: 32 kB / 3.039 GB, free: 177.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002418/5.029, allocations: 1.442 MB / 3.04 GB, free: 175.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/5.029, allocations: 8.031 kB / 3.04 GB, free: 175.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/5.029, allocations: 191.3 kB / 3.04 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/5.03, allocations: 229.8 kB / 3.04 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/5.031, allocations: 0.7537 MB / 3.041 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/5.031, allocations: 128.1 kB / 3.041 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/5.032, allocations: 119.1 kB / 3.041 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/5.033, allocations: 1.271 MB / 3.043 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/5.033, allocations: 3.953 kB / 3.043 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/5.033, allocations: 52.31 kB / 3.043 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/5.034, allocations: 35.98 kB / 3.043 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/5.035, allocations: 1.394 MB / 3.044 GB, free: 172.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/5.04, allocations: 3.546 MB / 3.048 GB, free: 170 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/5.042, allocations: 0.9198 MB / 3.049 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/5.042, allocations: 39.98 kB / 3.049 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008458/5.043, allocations: 0.5533 MB / 3.049 GB, free: 168.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 3.437e-06/5.043, allocations: 4 kB / 3.049 GB, free: 168.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.003226/5.046, allocations: 1.387 MB / 3.05 GB, free: 167.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/5.046, allocations: 241.8 kB / 3.051 GB, free: 167.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/5.047, allocations: 0.7098 MB / 3.051 GB, free: 167 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/5.047, allocations: 45.7 kB / 3.051 GB, free: 167 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/5.048, allocations: 0.5039 MB / 3.052 GB, free: 166.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/5.048, allocations: 311.4 kB / 3.052 GB, free: 166.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/5.048, allocations: 16 kB / 3.052 GB, free: 166.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/5.048, allocations: 341.9 kB / 3.053 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/5.048, allocations: 309.8 kB / 3.053 GB, free: 165.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/5.049, allocations: 440.2 kB / 3.053 GB, free: 165 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/5.05, allocations: 374.8 kB / 3.054 GB, free: 164.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.05, allocations: 0 / 3.054 GB, free: 164.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001866/5.051, allocations: 0.9814 MB / 3.055 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/5.052, allocations: 4 kB / 3.055 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/5.052, allocations: 64 / 3.055 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/5.052, allocations: 88.77 kB / 3.055 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/5.053, allocations: 187.7 kB / 3.055 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/5.055, allocations: 1.544 MB / 3.056 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/5.055, allocations: 107.2 kB / 3.056 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/5.055, allocations: 39.97 kB / 3.056 GB, free: 161.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.0005624/5.056, allocations: 301.5 kB / 3.057 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/5.056, allocations: 98.81 kB / 3.057 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/5.059, allocations: 1.317 MB / 3.058 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/5.059, allocations: 12 kB / 3.058 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/5.059, allocations: 0 / 3.058 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/5.059, allocations: 3.984 kB / 3.058 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/5.062, allocations: 2.459 MB / 3.061 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/5.062, allocations: 0 / 3.061 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/5.063, allocations: 183.7 kB / 3.061 GB, free: 157.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/5.063, allocations: 88.77 kB / 3.061 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/5.064, allocations: 23.98 kB / 3.061 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/5.065, allocations: 1.587 MB / 3.062 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/5.065, allocations: 0 / 3.062 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/5.067, allocations: 1.113 MB / 3.064 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/5.067, allocations: 355.2 kB / 3.064 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/5.068, allocations: 23.98 kB / 3.064 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/5.068, allocations: 71.95 kB / 3.064 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/5.068, allocations: 76.83 kB / 3.064 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/5.068, allocations: 39.97 kB / 3.064 GB, free: 153.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007017/5.069, allocations: 0.5888 MB / 3.065 GB, free: 153 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.069, allocations: 0 / 3.065 GB, free: 153 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001294/5.07, allocations: 446.6 kB / 3.065 GB, free: 152.5 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.003905/5.074, allocations: 2.645 MB / 3.068 GB, free: 150 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001656/5.076, allocations: 0.9329 MB / 3.069 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/5.076, allocations: 4 kB / 3.069 GB, free: 149.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008032/5.077, allocations: 0.5783 MB / 3.069 GB, free: 148.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/5.078, allocations: 250.5 kB / 3.069 GB, free: 148.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/5.083, allocations: 3.893 MB / 3.073 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/5.084, allocations: 1.154 MB / 3.074 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008563/5.084, allocations: 283.7 kB / 3.075 GB, free: 142.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/5.085, allocations: 499.2 kB / 3.075 GB, free: 142.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/5.085, allocations: 3.938 kB / 3.075 GB, free: 142.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05083/5.136, allocations: 33.83 MB / 3.108 GB, free: 108.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/5.136, allocations: 277.6 kB / 3.108 GB, free: 108.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/8.457, allocations: 0 / 3.108 GB, free: 108.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat