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.312/2.312, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001065/0.001065, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.75/1.75, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0008903/0.0008903, allocations: 87.91 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.375e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3019, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.379/4.681, allocations: 1.736 GB / 2.955 GB, free: 77.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/4.682, allocations: 83.95 kB / 2.955 GB, free: 77.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9119/5.593, allocations: 119.1 MB / 3.072 GB, free: 391.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.344e-06/5.594, allocations: 0.9375 kB / 3.072 GB, free: 391.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000268/5.594, allocations: 54.56 kB / 3.072 GB, free: 391.6 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.007894/5.602, allocations: 2.236 MB / 3.074 GB, free: 390.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/5.602, allocations: 8.656 kB / 3.074 GB, free: 390.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00139/5.603, allocations: 344.5 kB / 3.074 GB, free: 390.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/5.617, allocations: 1.94 MB / 3.076 GB, free: 390.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/5.622, allocations: 1.327 MB / 3.077 GB, free: 390 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/5.622, allocations: 190.5 kB / 3.078 GB, free: 389.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/5.623, allocations: 242.2 kB / 3.078 GB, free: 389.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/5.635, allocations: 3.036 MB / 3.081 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/5.635, allocations: 0 / 3.081 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009697/5.636, allocations: 105.2 kB / 3.081 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/5.636, allocations: 63.7 kB / 3.081 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/5.646, allocations: 3.543 MB / 3.084 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/5.669, allocations: 8.833 MB / 3.093 GB, free: 386.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004593/5.674, allocations: 2.389 MB / 3.095 GB, free: 385.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002262/5.676, allocations: 1.243 MB / 3.097 GB, free: 385 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/5.677, allocations: 0.511 MB / 3.097 GB, free: 384.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002939/5.68, allocations: 1.539 MB / 3.099 GB, free: 383.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 6.762e-06/5.68, allocations: 0 / 3.099 GB, free: 383.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=222): time 0.005725/5.686, allocations: 2.494 MB / 3.101 GB, free: 382.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/5.686, allocations: 258.6 kB / 3.101 GB, free: 382.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/5.688, allocations: 0.9921 MB / 3.102 GB, free: 382.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002819/5.688, allocations: 67 kB / 3.102 GB, free: 382 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/5.689, allocations: 0.8102 MB / 3.103 GB, free: 381.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006571/5.689, allocations: 0.7283 MB / 3.104 GB, free: 380.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/5.689, allocations: 39.81 kB / 3.104 GB, free: 380.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001273/5.69, allocations: 379 kB / 3.104 GB, free: 380.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/5.691, allocations: 0.9673 MB / 3.105 GB, free: 380 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/5.693, allocations: 1.17 MB / 3.106 GB, free: 379.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/5.695, allocations: 1.031 MB / 3.107 GB, free: 378.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/5.695, allocations: 3.812 kB / 3.107 GB, free: 378.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005378/5.701, allocations: 2.578 MB / 3.11 GB, free: 377.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/5.701, allocations: 5.375 kB / 3.11 GB, free: 377.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/5.701, allocations: 9.234 kB / 3.11 GB, free: 377.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/5.701, allocations: 87.31 kB / 3.11 GB, free: 377.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/5.705, allocations: 0.6192 MB / 3.111 GB, free: 377.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/5.707, allocations: 1.532 MB / 3.112 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/5.71, allocations: 364.6 kB / 3.112 GB, free: 375.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/5.71, allocations: 98.33 kB / 3.112 GB, free: 375.8 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 () * 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.0005621/5.711, allocations: 214.5 kB / 3.113 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/5.712, allocations: 167.2 kB / 3.113 GB, free: 375.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007475/5.719, allocations: 3.254 MB / 3.116 GB, free: 373.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/5.719, allocations: 23.22 kB / 3.116 GB, free: 373.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/5.719, allocations: 0 / 3.116 GB, free: 373.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/5.719, allocations: 11.95 kB / 3.116 GB, free: 373.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/5.731, allocations: 6.185 MB / 3.122 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/5.731, allocations: 3.812 kB / 3.122 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/5.735, allocations: 0.5941 MB / 3.123 GB, free: 369.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/5.736, allocations: 89.7 kB / 3.123 GB, free: 369.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003034/5.736, allocations: 72.58 kB / 3.123 GB, free: 369.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/5.738, allocations: 1.551 MB / 3.124 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/5.738, allocations: 0 / 3.124 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/5.743, allocations: 2.686 MB / 3.127 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/5.744, allocations: 0.6784 MB / 3.128 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/5.745, allocations: 42.94 kB / 3.128 GB, free: 365.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/5.748, allocations: 277.2 kB / 3.128 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/5.748, allocations: 144.8 kB / 3.128 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/5.749, allocations: 90.42 kB / 3.128 GB, free: 365.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001466/5.75, allocations: 0.8431 MB / 3.129 GB, free: 365.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/5.75, allocations: 0 / 3.129 GB, free: 365.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002663/5.753, allocations: 0.7489 MB / 3.13 GB, free: 364.9 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) * 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.007918/5.761, allocations: 4.233 MB / 3.134 GB, free: 362.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004827/5.765, allocations: 2.588 MB / 3.136 GB, free: 361.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/5.766, allocations: 0 / 3.136 GB, free: 361.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/5.768, allocations: 1.477 MB / 3.138 GB, free: 360.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/5.77, allocations: 301.3 kB / 3.138 GB, free: 360.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/5.782, allocations: 3.878 MB / 3.142 GB, free: 356.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/5.784, allocations: 1.542 MB / 3.143 GB, free: 355.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004296/5.788, allocations: 0.6254 MB / 3.144 GB, free: 354.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/5.79, allocations: 0.956 MB / 3.145 GB, free: 353.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/5.79, allocations: 0 / 3.145 GB, free: 353.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09267/5.883, allocations: 57.37 MB / 3.201 GB, free: 296.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/5.883, allocations: 266 kB / 3.201 GB, free: 296.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.676/9.559, allocations: 0 / 3.201 GB, free: 296.6 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