Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.395/2.395, allocations: 390.5 MB / 398 MB, free: 11 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.001212/0.001212, allocations: 169 kB / 491.2 MB, free: 1.602 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.681/1.681, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001042/0.001042, allocations: 87.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.597e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3478, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.48, allocations: 151.5 MB / 1.36 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.48, allocations: 79.56 kB / 1.36 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8306/2.311, allocations: 348.2 MB / 1.7 GB, free: 4.41 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.824e-06/2.311, allocations: 0 / 1.7 GB, free: 4.41 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.422e-05/2.311, allocations: 7.5 kB / 1.7 GB, free: 4.406 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001409/2.312, allocations: 495.9 kB / 1.701 GB, free: 3.891 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/2.312, allocations: 8.031 kB / 1.701 GB, free: 3.883 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/2.312, allocations: 31.62 kB / 1.701 GB, free: 3.852 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/2.313, allocations: 392.2 kB / 1.701 GB, free: 3.477 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/2.313, allocations: 0 / 1.701 GB, free: 3.477 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/2.313, allocations: 4 kB / 1.701 GB, free: 3.473 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.493e-05/2.313, allocations: 64.11 kB / 1.701 GB, free: 3.426 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/2.313, allocations: 91.83 kB / 1.701 GB, free: 3.324 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/2.313, allocations: 7.953 kB / 1.702 GB, free: 3.316 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/2.313, allocations: 4 kB / 1.702 GB, free: 3.312 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/2.313, allocations: 3.984 kB / 1.702 GB, free: 3.309 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/2.313, allocations: 303.8 kB / 1.702 GB, free: 3.012 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/2.314, allocations: 109.2 kB / 1.702 GB, free: 2.879 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/2.314, allocations: 58.34 kB / 1.702 GB, free: 2.82 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/2.314, allocations: 4 kB / 1.702 GB, free: 2.816 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/2.314, allocations: 38.5 kB / 1.702 GB, free: 2.77 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/2.314, allocations: 0 / 1.702 GB, free: 2.77 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0002389/2.314, allocations: 145 kB / 1.702 GB, free: 2.637 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/2.314, allocations: 132.5 kB / 1.702 GB, free: 2.477 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/2.314, allocations: 418 kB / 1.703 GB, free: 2.148 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/2.314, allocations: 25.7 kB / 1.703 GB, free: 2.117 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/2.315, allocations: 166.1 kB / 1.703 GB, free: 2.008 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/2.315, allocations: 19.73 kB / 1.703 GB, free: 1.988 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/2.315, allocations: 4.125 kB / 1.703 GB, free: 1.984 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.315, allocations: 344.4 kB / 1.703 GB, free: 1.652 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/2.315, allocations: 34.72 kB / 1.703 GB, free: 1.625 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/2.315, allocations: 96.31 kB / 1.703 GB, free: 1.52 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/2.315, allocations: 42.89 kB / 1.703 GB, free: 1.484 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/2.315, allocations: 0 / 1.703 GB, free: 1.484 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000186/2.315, allocations: 135.1 kB / 1.703 GB, free: 1.359 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/2.315, allocations: 8 kB / 1.704 GB, free: 1.352 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/2.315, allocations: 0 / 1.704 GB, free: 1.352 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/2.315, allocations: 0 / 1.704 GB, free: 1.352 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/2.315, allocations: 11.98 kB / 1.704 GB, free: 1.34 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/2.315, allocations: 12.06 kB / 1.704 GB, free: 1.328 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/2.315, allocations: 11.36 kB / 1.704 GB, free: 1.32 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/2.315, allocations: 7.891 kB / 1.704 GB, free: 1.312 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/2.316, allocations: 108.9 kB / 1.704 GB, free: 1.199 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001737/2.316, allocations: 138.4 kB / 1.704 GB, free: 1.07 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/2.316, allocations: 34.5 kB / 1.704 GB, free: 1.039 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/2.316, allocations: 186.8 kB / 1.704 GB, free: 0.875 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/2.316, allocations: 0 / 1.704 GB, free: 0.875 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.316, allocations: 3.953 kB / 1.704 GB, free: 0.8711 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/2.316, allocations: 4 kB / 1.704 GB, free: 0.8672 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/2.316, allocations: 277.3 kB / 1.704 GB, free: 0.6016 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/2.316, allocations: 0 / 1.704 GB, free: 0.6016 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/2.316, allocations: 12 kB / 1.704 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/2.316, allocations: 4.125 kB / 1.704 GB, free: 0.5859 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/2.316, allocations: 7.984 kB / 1.704 GB, free: 0.5781 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/2.316, allocations: 4 kB / 1.704 GB, free: 0.5742 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.316, allocations: 0 / 1.704 GB, free: 0.5742 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/2.317, allocations: 218.7 kB / 1.704 GB, free: 344 kB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/2.317, allocations: 132.4 kB / 1.705 GB, free: 200 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/2.317, allocations: 7.938 kB / 1.705 GB, free: 192 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/2.317, allocations: 4 kB / 1.705 GB, free: 188 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/2.317, allocations: 7.984 kB / 1.705 GB, free: 180 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/2.317, allocations: 0 / 1.705 GB, free: 180 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0003281/2.317, allocations: 346.9 kB / 1.705 GB, free: 15.91 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.2e-07/2.317, allocations: 4 kB / 1.705 GB, free: 15.91 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002454/2.318, allocations: 39.62 kB / 1.705 GB, free: 15.88 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006053/2.318, allocations: 0.9883 MB / 1.706 GB, free: 14.86 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001803/2.318, allocations: 80.12 kB / 1.706 GB, free: 14.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/2.318, allocations: 4 kB / 1.706 GB, free: 14.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/2.318, allocations: 47.34 kB / 1.706 GB, free: 14.76 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/2.319, allocations: 64.12 kB / 1.706 GB, free: 14.72 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/2.32, allocations: 0.5073 MB / 1.707 GB, free: 14.21 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/2.32, allocations: 0.8213 MB / 1.707 GB, free: 13.38 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001566/2.32, allocations: 58.03 kB / 1.708 GB, free: 13.32 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/2.32, allocations: 76.16 kB / 1.708 GB, free: 13.29 MB / 1.135 GB Notification: Performance of SimCode: time 2.91e-07/2.32, allocations: 0 / 1.708 GB, free: 13.29 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/2.346, allocations: 5.766 MB / 1.713 GB, free: 7.594 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/2.346, allocations: 169.8 kB / 1.713 GB, free: 7.402 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/4.26, allocations: 4 kB / 1.713 GB, free: 7.398 MB / 1.135 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat