Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.377/2.377, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001386/0.001386, allocations: 180 kB / 0.4901 GB, free: 2.25 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.001272/0.001272, allocations: 96.27 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004295, allocations: 6.875 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.188/4.549, allocations: 1.734 GB / 2.963 GB, free: 252 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/4.549, allocations: 92.45 kB / 2.963 GB, free: 251.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1838/4.733, allocations: 84.41 MB / 3.046 GB, free: 167.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.098e-06/4.733, allocations: 3.938 kB / 3.046 GB, free: 167.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001433/4.733, allocations: 32 kB / 3.046 GB, free: 167.1 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.003864/4.737, allocations: 1.447 MB / 3.047 GB, free: 165.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/4.737, allocations: 12.02 kB / 3.047 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005205/4.738, allocations: 193.8 kB / 3.047 GB, free: 165.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/4.739, allocations: 230 kB / 3.048 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/4.741, allocations: 0.7444 MB / 3.048 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/4.741, allocations: 128.1 kB / 3.048 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/4.741, allocations: 116 kB / 3.049 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/4.744, allocations: 1.274 MB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/4.744, allocations: 3.953 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/4.744, allocations: 52 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/4.744, allocations: 32 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/4.746, allocations: 1.387 MB / 3.051 GB, free: 161.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/4.752, allocations: 3.575 MB / 3.055 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/4.754, allocations: 0.9117 MB / 3.056 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/4.754, allocations: 36.94 kB / 3.056 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/4.755, allocations: 0.5397 MB / 3.056 GB, free: 156.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 3.777e-06/4.755, allocations: 4 kB / 3.056 GB, free: 156.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.003328/4.758, allocations: 1.397 MB / 3.058 GB, free: 154.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/4.758, allocations: 244.3 kB / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/4.759, allocations: 0.7033 MB / 3.058 GB, free: 153.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-05/4.76, allocations: 45.7 kB / 3.059 GB, free: 153.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/4.76, allocations: 0.5116 MB / 3.059 GB, free: 153.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/4.76, allocations: 307.5 kB / 3.059 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/4.76, allocations: 20 kB / 3.059 GB, free: 152.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/4.76, allocations: 341.9 kB / 3.06 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/4.761, allocations: 301.8 kB / 3.06 GB, free: 152.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/4.762, allocations: 448.2 kB / 3.06 GB, free: 151.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/4.762, allocations: 366.9 kB / 3.061 GB, free: 151.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/4.762, allocations: 0 / 3.061 GB, free: 151.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002095/4.764, allocations: 0.9736 MB / 3.062 GB, free: 150.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/4.764, allocations: 8 kB / 3.062 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/4.764, allocations: 4 kB / 3.062 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/4.765, allocations: 88.83 kB / 3.062 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/4.766, allocations: 183.8 kB / 3.062 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/4.768, allocations: 1.56 MB / 3.063 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/4.769, allocations: 107.2 kB / 3.064 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/4.769, allocations: 39.97 kB / 3.064 GB, free: 148.3 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.0007929/4.77, allocations: 298.8 kB / 3.064 GB, free: 148 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/4.77, allocations: 94.88 kB / 3.064 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/4.773, allocations: 1.309 MB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/4.773, allocations: 12 kB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/4.773, allocations: 4 kB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/4.773, allocations: 3.984 kB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/4.778, allocations: 2.474 MB / 3.068 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/4.778, allocations: 0 / 3.068 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/4.778, allocations: 175.8 kB / 3.068 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/4.779, allocations: 88.77 kB / 3.068 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/4.779, allocations: 27.98 kB / 3.068 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/4.781, allocations: 1.579 MB / 3.07 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/4.781, allocations: 0 / 3.07 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/4.783, allocations: 1.109 MB / 3.071 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/4.783, allocations: 363.2 kB / 3.071 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/4.784, allocations: 20 kB / 3.071 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/4.785, allocations: 79.94 kB / 3.071 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/4.785, allocations: 72.89 kB / 3.071 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/4.785, allocations: 31.98 kB / 3.071 GB, free: 140.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009517/4.786, allocations: 0.5927 MB / 3.072 GB, free: 139.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/4.786, allocations: 0 / 3.072 GB, free: 139.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001488/4.787, allocations: 442.7 kB / 3.072 GB, free: 139.3 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.004413/4.792, allocations: 2.64 MB / 3.075 GB, free: 136.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001839/4.794, allocations: 0.9289 MB / 3.076 GB, free: 135.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/4.794, allocations: 0 / 3.076 GB, free: 135.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009413/4.795, allocations: 0.5822 MB / 3.076 GB, free: 135.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/4.796, allocations: 266.8 kB / 3.076 GB, free: 135 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/4.802, allocations: 3.888 MB / 3.08 GB, free: 131.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/4.803, allocations: 1.142 MB / 3.081 GB, free: 129.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001162/4.804, allocations: 291.7 kB / 3.082 GB, free: 129.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/4.805, allocations: 0.4914 MB / 3.082 GB, free: 129.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/4.805, allocations: 0 / 3.082 GB, free: 129.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06426/4.869, allocations: 33.85 MB / 3.115 GB, free: 95.62 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/4.869, allocations: 293 kB / 3.115 GB, free: 95.26 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/8.151, allocations: 0 / 3.115 GB, free: 95.26 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat