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.33/2.33, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.0009887/0.0009887, allocations: 184.7 kB / 492.3 MB, free: 0.6094 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.567/1.567, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008587/0.0008585, allocations: 98.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.889e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.989/5.295, allocations: 1.736 GB / 2.948 GB, free: 129.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/5.295, allocations: 87.95 kB / 2.948 GB, free: 129.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2766/5.572, allocations: 119.1 MB / 3.065 GB, free: 9.648 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.524e-06/5.572, allocations: 0 / 3.065 GB, free: 9.648 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001907/5.572, allocations: 52 kB / 3.065 GB, free: 9.598 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.006418/5.579, allocations: 2.224 MB / 3.067 GB, free: 7.312 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/5.579, allocations: 8.031 kB / 3.067 GB, free: 7.305 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/5.58, allocations: 350.3 kB / 3.067 GB, free: 6.953 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/5.593, allocations: 1.94 MB / 3.069 GB, free: 5.008 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/5.598, allocations: 1.332 MB / 3.07 GB, free: 3.633 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/5.598, allocations: 189 kB / 3.07 GB, free: 3.445 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/5.599, allocations: 240 kB / 3.071 GB, free: 3.211 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008085/5.608, allocations: 3.041 MB / 3.074 GB, free: 88 kB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/5.608, allocations: 0 / 3.074 GB, free: 88 kB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.8143/6.422, allocations: 99.42 kB / 3.074 GB, free: 371.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/6.422, allocations: 60.41 kB / 3.074 GB, free: 371.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/6.434, allocations: 3.54 MB / 3.077 GB, free: 371.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/6.458, allocations: 8.832 MB / 3.086 GB, free: 370.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/6.463, allocations: 2.373 MB / 3.088 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/6.466, allocations: 1.245 MB / 3.089 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/6.467, allocations: 0.5184 MB / 3.09 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003354/6.47, allocations: 1.525 MB / 3.091 GB, free: 370 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 5.11e-06/6.47, allocations: 0 / 3.091 GB, free: 370 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.006536/6.477, allocations: 2.499 MB / 3.094 GB, free: 369.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/6.477, allocations: 259.3 kB / 3.094 GB, free: 369.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/6.479, allocations: 0.9911 MB / 3.095 GB, free: 369.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/6.479, allocations: 65.23 kB / 3.095 GB, free: 369.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/6.48, allocations: 0.8161 MB / 3.096 GB, free: 369 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009141/6.481, allocations: 0.7201 MB / 3.097 GB, free: 368.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/6.481, allocations: 37.88 kB / 3.097 GB, free: 368.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000178/6.481, allocations: 374.4 kB / 3.097 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/6.484, allocations: 0.9698 MB / 3.098 GB, free: 368.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/6.486, allocations: 1.172 MB / 3.099 GB, free: 368.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/6.488, allocations: 1.039 MB / 3.1 GB, free: 368.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/6.488, allocations: 0.5625 kB / 3.1 GB, free: 368.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006048/6.494, allocations: 2.571 MB / 3.103 GB, free: 367.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/6.494, allocations: 9.078 kB / 3.103 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/6.494, allocations: 1.438 kB / 3.103 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/6.495, allocations: 89.69 kB / 3.103 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/6.499, allocations: 0.6251 MB / 3.103 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/6.501, allocations: 1.528 MB / 3.105 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/6.504, allocations: 367.6 kB / 3.105 GB, free: 366.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/6.504, allocations: 99.78 kB / 3.105 GB, free: 366.3 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 (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.000578/6.505, allocations: 212.8 kB / 3.106 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004299/6.505, allocations: 165 kB / 3.106 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/6.514, allocations: 3.264 MB / 3.109 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/6.514, allocations: 22.75 kB / 3.109 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/6.514, allocations: 1.188 kB / 3.109 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/6.514, allocations: 15.42 kB / 3.109 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/6.526, allocations: 6.188 MB / 3.115 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/6.526, allocations: 1.062 kB / 3.115 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/6.53, allocations: 0.602 MB / 3.116 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/6.53, allocations: 89.75 kB / 3.116 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/6.531, allocations: 76.31 kB / 3.116 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/6.532, allocations: 1.548 MB / 3.117 GB, free: 360.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.532, allocations: 1.094 kB / 3.117 GB, free: 360.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/6.539, allocations: 2.679 MB / 3.12 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/6.54, allocations: 0.6791 MB / 3.12 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/6.541, allocations: 42.25 kB / 3.121 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/6.543, allocations: 270.9 kB / 3.121 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/6.544, allocations: 144.7 kB / 3.121 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/6.544, allocations: 93.64 kB / 3.121 GB, free: 358.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001541/6.546, allocations: 0.8463 MB / 3.122 GB, free: 358.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/6.546, allocations: 0 / 3.122 GB, free: 358.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002585/6.548, allocations: 0.7526 MB / 3.123 GB, free: 358.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 (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.007211/6.555, allocations: 4.224 MB / 3.127 GB, free: 356.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004717/6.56, allocations: 2.587 MB / 3.129 GB, free: 355.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.56, allocations: 0 / 3.129 GB, free: 355.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/6.562, allocations: 1.479 MB / 3.131 GB, free: 354.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/6.564, allocations: 310 kB / 3.131 GB, free: 354.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/6.574, allocations: 3.862 MB / 3.135 GB, free: 352.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/6.575, allocations: 1.54 MB / 3.136 GB, free: 352.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003667/6.579, allocations: 0.6216 MB / 3.137 GB, free: 352 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/6.581, allocations: 0.9588 MB / 3.138 GB, free: 351.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/6.581, allocations: 0 / 3.138 GB, free: 351.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/6.683, allocations: 57.37 MB / 3.194 GB, free: 328.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/6.683, allocations: 261.5 kB / 3.194 GB, free: 328.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/10.5, allocations: 0 / 3.194 GB, free: 328.6 MB / 1.151 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