Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",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.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00103/0.00103, allocations: 182.2 kB / 498.1 MB, free: 5.734 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.522/1.522, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001057/0.001057, allocations: 86.91 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004247, allocations: 11.27 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/4.756, allocations: 1.736 GB / 2.959 GB, free: 282.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/4.757, allocations: 88.47 kB / 2.959 GB, free: 282.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2668/5.024, allocations: 119.5 MB / 3.075 GB, free: 162.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.946e-06/5.024, allocations: 3.938 kB / 3.075 GB, free: 162.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001841/5.024, allocations: 56 kB / 3.075 GB, free: 162.8 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.00712/5.031, allocations: 2.42 MB / 3.078 GB, free: 160.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/5.031, allocations: 11.97 kB / 3.078 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001143/5.032, allocations: 342.3 kB / 3.078 GB, free: 160 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/5.046, allocations: 1.936 MB / 3.08 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/5.049, allocations: 1.336 MB / 3.081 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/5.049, allocations: 185 kB / 3.082 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007183/5.05, allocations: 244 kB / 3.082 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008909/5.059, allocations: 3.657 MB / 3.085 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/5.059, allocations: 4 kB / 3.085 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/5.059, allocations: 108 kB / 3.085 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/5.06, allocations: 60 kB / 3.085 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/5.072, allocations: 4.758 MB / 3.09 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/5.088, allocations: 8.838 MB / 3.099 GB, free: 138.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/5.096, allocations: 3.08 MB / 3.102 GB, free: 135.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/5.097, allocations: 0.5152 MB / 3.102 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00462/5.101, allocations: 1.906 MB / 3.104 GB, free: 133 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 3.828e-06/5.101, allocations: 0 / 3.104 GB, free: 133 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.01384/5.115, allocations: 4.784 MB / 3.109 GB, free: 128.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/5.115, allocations: 253.3 kB / 3.109 GB, free: 127.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/5.117, allocations: 1.008 MB / 3.11 GB, free: 126.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/5.117, allocations: 65.69 kB / 3.11 GB, free: 126.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006311/5.118, allocations: 0.8169 MB / 3.111 GB, free: 126 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000562/5.118, allocations: 0.7237 MB / 3.112 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/5.119, allocations: 40 kB / 3.112 GB, free: 125.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001147/5.119, allocations: 374.4 kB / 3.112 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/5.123, allocations: 1.347 MB / 3.113 GB, free: 123.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/5.127, allocations: 1.555 MB / 3.115 GB, free: 121.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/5.13, allocations: 1.412 MB / 3.116 GB, free: 120.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/5.13, allocations: 4 kB / 3.116 GB, free: 120.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009545/5.14, allocations: 3.339 MB / 3.119 GB, free: 117.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/5.14, allocations: 8 kB / 3.119 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/5.14, allocations: 0 / 3.119 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/5.141, allocations: 84.84 kB / 3.12 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/5.145, allocations: 0.6319 MB / 3.12 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/5.147, allocations: 1.532 MB / 3.122 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/5.15, allocations: 373.8 kB / 3.122 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/5.151, allocations: 95.89 kB / 3.122 GB, free: 114.3 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001442/5.152, allocations: 497.4 kB / 3.123 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/5.153, allocations: 165.9 kB / 3.123 GB, free: 113.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/5.164, allocations: 4.014 MB / 3.127 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/5.164, allocations: 20 kB / 3.127 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.164, allocations: 4 kB / 3.127 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/5.164, allocations: 15.91 kB / 3.127 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/5.178, allocations: 6.964 MB / 3.134 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/5.178, allocations: 0 / 3.134 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/5.182, allocations: 0.6046 MB / 3.134 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/5.182, allocations: 88.72 kB / 3.134 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/5.183, allocations: 75.91 kB / 3.134 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/5.184, allocations: 1.559 MB / 3.136 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/5.184, allocations: 0 / 3.136 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009601/5.194, allocations: 3.451 MB / 3.139 GB, free: 96.57 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/5.195, allocations: 0.6775 MB / 3.14 GB, free: 95.87 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/5.196, allocations: 47.94 kB / 3.14 GB, free: 95.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/5.199, allocations: 263.7 kB / 3.14 GB, free: 95.56 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/5.199, allocations: 145.8 kB / 3.14 GB, free: 95.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003346/5.199, allocations: 91.92 kB / 3.14 GB, free: 95.33 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001292/5.201, allocations: 0.8604 MB / 3.141 GB, free: 94.47 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/5.201, allocations: 0 / 3.141 GB, free: 94.47 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002288/5.203, allocations: 0.7438 MB / 3.142 GB, free: 93.72 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 (240): * Single equations (assignments): 237 * 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.01146/5.214, allocations: 5.031 MB / 3.147 GB, free: 88.86 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009402/5.224, allocations: 3.342 MB / 3.15 GB, free: 85.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/5.224, allocations: 8.125 kB / 3.15 GB, free: 85.49 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004516/5.228, allocations: 1.853 MB / 3.152 GB, free: 83.63 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/5.23, allocations: 312.8 kB / 3.152 GB, free: 83.33 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/5.26, allocations: 14.86 MB / 3.167 GB, free: 68.02 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/5.261, allocations: 1.54 MB / 3.168 GB, free: 66.44 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00384/5.265, allocations: 0.6154 MB / 3.169 GB, free: 65.82 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/5.266, allocations: 0.956 MB / 3.17 GB, free: 64.86 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/5.266, allocations: 0 / 3.17 GB, free: 64.86 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08578/5.352, allocations: 55.27 MB / 3.224 GB, free: 9.977 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/5.352, allocations: 281.9 kB / 3.224 GB, free: 9.621 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/9.454, allocations: 12.22 kB / 3.224 GB, free: 9.613 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat does not exist to compare? outputFormat=mat