Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001244/0.001244, allocations: 182.9 kB / 0.4901 GB, free: 2.262 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.572/1.572, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001065/0.001065, allocations: 108.9 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 8.547 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2954, allocations: 143 MB / 1.229 GB, free: 85.42 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.055/4.351, allocations: 1.737 GB / 2.966 GB, free: 192.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/4.351, allocations: 92.62 kB / 2.966 GB, free: 192.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2611/4.612, allocations: 119.5 MB / 3.083 GB, free: 87.91 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.683e-06/4.612, allocations: 0 / 3.083 GB, free: 87.91 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001057/4.612, allocations: 63.88 kB / 3.083 GB, free: 87.85 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.004469/4.617, allocations: 2.407 MB / 3.085 GB, free: 85.54 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/4.617, allocations: 12.03 kB / 3.085 GB, free: 85.53 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/4.617, allocations: 344.8 kB / 3.085 GB, free: 85.34 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/4.63, allocations: 1.939 MB / 3.087 GB, free: 83.41 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/4.632, allocations: 1.334 MB / 3.088 GB, free: 82.47 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/4.633, allocations: 185.7 kB / 3.089 GB, free: 82.37 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/4.633, allocations: 247.5 kB / 3.089 GB, free: 82.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008488/4.641, allocations: 3.659 MB / 3.092 GB, free: 78.71 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/4.641, allocations: 0 / 3.092 GB, free: 78.71 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/4.642, allocations: 108 kB / 3.093 GB, free: 78.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/4.642, allocations: 63.94 kB / 3.093 GB, free: 78.54 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/4.654, allocations: 4.762 MB / 3.097 GB, free: 73.76 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/4.671, allocations: 8.846 MB / 3.106 GB, free: 64.82 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/4.679, allocations: 3.071 MB / 3.109 GB, free: 61.73 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/4.679, allocations: 0.5152 MB / 3.109 GB, free: 61.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004307/4.684, allocations: 1.91 MB / 3.111 GB, free: 59.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 3.827e-06/4.684, allocations: 0 / 3.111 GB, free: 59.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.01335/4.697, allocations: 4.784 MB / 3.116 GB, free: 54.39 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/4.697, allocations: 253.3 kB / 3.116 GB, free: 54.09 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/4.699, allocations: 1.008 MB / 3.117 GB, free: 53.07 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/4.699, allocations: 69.62 kB / 3.117 GB, free: 52.99 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/4.699, allocations: 0.813 MB / 3.118 GB, free: 52.17 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/4.7, allocations: 0.7276 MB / 3.119 GB, free: 51.43 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/4.7, allocations: 40 kB / 3.119 GB, free: 51.39 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001092/4.7, allocations: 374.4 kB / 3.119 GB, free: 51.02 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/4.704, allocations: 1.347 MB / 3.12 GB, free: 49.67 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/4.708, allocations: 1.555 MB / 3.122 GB, free: 48.07 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/4.712, allocations: 1.415 MB / 3.123 GB, free: 46.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/4.712, allocations: 0 / 3.123 GB, free: 46.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00906/4.721, allocations: 3.331 MB / 3.127 GB, free: 43.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/4.721, allocations: 9.25 kB / 3.127 GB, free: 43.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/4.721, allocations: 0 / 3.127 GB, free: 43.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/4.721, allocations: 88.84 kB / 3.127 GB, free: 43.22 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/4.725, allocations: 0.6319 MB / 3.127 GB, free: 42.59 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/4.727, allocations: 1.54 MB / 3.129 GB, free: 40.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/4.731, allocations: 377.8 kB / 3.129 GB, free: 40.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/4.731, allocations: 95.89 kB / 3.129 GB, free: 40.44 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.001775/4.733, allocations: 490.1 kB / 3.13 GB, free: 39.95 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/4.733, allocations: 165.9 kB / 3.13 GB, free: 39.79 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/4.745, allocations: 4.01 MB / 3.134 GB, free: 35.76 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/4.745, allocations: 20 kB / 3.134 GB, free: 35.74 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/4.745, allocations: 4 kB / 3.134 GB, free: 35.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/4.745, allocations: 15.91 kB / 3.134 GB, free: 35.72 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/4.76, allocations: 6.956 MB / 3.141 GB, free: 28.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/4.76, allocations: 4 kB / 3.141 GB, free: 28.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/4.764, allocations: 0.6123 MB / 3.141 GB, free: 28.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/4.764, allocations: 88.72 kB / 3.141 GB, free: 28 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/4.764, allocations: 71.91 kB / 3.141 GB, free: 27.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/4.766, allocations: 1.556 MB / 3.143 GB, free: 26.23 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.766, allocations: 4.266 kB / 3.143 GB, free: 26.23 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0092/4.775, allocations: 3.439 MB / 3.146 GB, free: 22.77 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/4.776, allocations: 0.6891 MB / 3.147 GB, free: 22.06 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/4.777, allocations: 44 kB / 3.147 GB, free: 22.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/4.78, allocations: 263.7 kB / 3.147 GB, free: 21.76 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/4.78, allocations: 141.8 kB / 3.147 GB, free: 21.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/4.78, allocations: 91.92 kB / 3.147 GB, free: 21.54 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001322/4.781, allocations: 0.8643 MB / 3.148 GB, free: 20.67 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.781, allocations: 3.938 kB / 3.148 GB, free: 20.66 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002874/4.784, allocations: 0.7439 MB / 3.149 GB, free: 19.92 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.01172/4.796, allocations: 5.028 MB / 3.154 GB, free: 15.05 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009543/4.806, allocations: 3.354 MB / 3.157 GB, free: 11.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/4.806, allocations: 0 / 3.157 GB, free: 11.68 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004546/4.81, allocations: 1.853 MB / 3.159 GB, free: 9.816 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/4.812, allocations: 313.6 kB / 3.159 GB, free: 9.52 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5777/5.39, allocations: 14.86 MB / 3.174 GB, free: 371.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/5.391, allocations: 1.538 MB / 3.175 GB, free: 370.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004403/5.396, allocations: 0.6201 MB / 3.176 GB, free: 370.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/5.398, allocations: 0.9568 MB / 3.177 GB, free: 370.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.173e-06/5.398, allocations: 2.188 kB / 3.177 GB, free: 370.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/5.512, allocations: 55.27 MB / 3.231 GB, free: 367.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/5.513, allocations: 305.5 kB / 3.231 GB, free: 367.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/9.367, allocations: 0 / 3.231 GB, free: 367.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat does not exist to compare? outputFormat=mat