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.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001043/0.001043, allocations: 180 kB / 0.4901 GB, free: 2.258 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.714/1.714, 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.001012/0.001012, allocations: 96.67 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 12.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3206, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5178, allocations: 152.2 MB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5181, allocations: 75.95 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.507/2.025, allocations: 348.9 MB / 1.719 GB, free: 9.145 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.255e-06/2.025, allocations: 4.484 kB / 1.719 GB, free: 9.141 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.106e-05/2.025, allocations: 4 kB / 1.719 GB, free: 9.137 MB / 1.042 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.002579/2.028, allocations: 0.6053 MB / 1.719 GB, free: 8.508 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/2.028, allocations: 16.02 kB / 1.719 GB, free: 8.492 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/2.028, allocations: 34.56 kB / 1.719 GB, free: 8.449 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/2.028, allocations: 31.62 kB / 1.719 GB, free: 8.418 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/2.029, allocations: 377.2 kB / 1.72 GB, free: 8.055 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/2.029, allocations: 7.688 kB / 1.72 GB, free: 8.051 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/2.029, allocations: 0 / 1.72 GB, free: 8.051 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/2.029, allocations: 107.8 kB / 1.72 GB, free: 7.938 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/2.029, allocations: 0 / 1.72 GB, free: 7.938 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/2.029, allocations: 3.953 kB / 1.72 GB, free: 7.934 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/2.029, allocations: 0 / 1.72 GB, free: 7.934 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/2.029, allocations: 70.17 kB / 1.72 GB, free: 7.879 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/2.03, allocations: 334.1 kB / 1.72 GB, free: 7.547 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/2.03, allocations: 105.6 kB / 1.72 GB, free: 7.414 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/2.03, allocations: 7.625 kB / 1.72 GB, free: 7.41 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/2.03, allocations: 34.5 kB / 1.72 GB, free: 7.367 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/2.03, allocations: 4 kB / 1.72 GB, free: 7.363 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.000412/2.03, allocations: 181.6 kB / 1.721 GB, free: 7.203 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/2.031, allocations: 136.5 kB / 1.721 GB, free: 7.039 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/2.031, allocations: 434.9 kB / 1.721 GB, free: 6.688 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/2.031, allocations: 29.7 kB / 1.721 GB, free: 6.652 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/2.031, allocations: 165.5 kB / 1.721 GB, free: 6.543 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/2.031, allocations: 15.75 kB / 1.721 GB, free: 6.527 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/2.031, allocations: 3.5 kB / 1.721 GB, free: 6.527 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001419/2.031, allocations: 341.3 kB / 1.722 GB, free: 6.195 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/2.032, allocations: 34.83 kB / 1.722 GB, free: 6.168 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/2.032, allocations: 87.52 kB / 1.722 GB, free: 6.07 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/2.032, allocations: 54.2 kB / 1.722 GB, free: 6.027 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/2.032, allocations: 0 / 1.722 GB, free: 6.027 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002499/2.032, allocations: 149.6 kB / 1.722 GB, free: 5.891 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/2.032, allocations: 4 kB / 1.722 GB, free: 5.887 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/2.032, allocations: 0 / 1.722 GB, free: 5.887 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/2.032, allocations: 4 kB / 1.722 GB, free: 5.883 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/2.032, allocations: 16.05 kB / 1.722 GB, free: 5.867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/2.032, allocations: 11.94 kB / 1.722 GB, free: 5.855 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/2.032, allocations: 7.984 kB / 1.722 GB, free: 5.848 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/2.032, allocations: 4 kB / 1.722 GB, free: 5.844 MB / 1.042 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 () * Number of clocked 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 0.0002023/2.033, allocations: 176.1 kB / 1.722 GB, free: 5.68 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/2.033, allocations: 31.62 kB / 1.722 GB, free: 5.648 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/2.033, allocations: 189.3 kB / 1.722 GB, free: 5.496 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/2.033, allocations: 3.938 kB / 1.722 GB, free: 5.492 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/2.033, allocations: 4 kB / 1.722 GB, free: 5.488 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/2.033, allocations: 7.938 kB / 1.722 GB, free: 5.48 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/2.033, allocations: 293.2 kB / 1.723 GB, free: 5.188 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/2.033, allocations: 3.984 kB / 1.723 GB, free: 5.184 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/2.034, allocations: 16 kB / 1.723 GB, free: 5.168 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/2.034, allocations: 4 kB / 1.723 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/2.034, allocations: 128 / 1.723 GB, free: 5.164 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/2.034, allocations: 4 kB / 1.723 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.034, allocations: 4 kB / 1.723 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/2.034, allocations: 233.5 kB / 1.723 GB, free: 4.91 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/2.034, allocations: 128.6 kB / 1.723 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/2.034, allocations: 3.953 kB / 1.723 GB, free: 4.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/2.034, allocations: 7.984 kB / 1.723 GB, free: 4.762 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/2.034, allocations: 4 kB / 1.723 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/2.034, allocations: 7.984 kB / 1.723 GB, free: 4.75 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004115/2.035, allocations: 360.8 kB / 1.723 GB, free: 4.477 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.11e-07/2.035, allocations: 0 / 1.723 GB, free: 4.477 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000281/2.035, allocations: 47.88 kB / 1.723 GB, free: 4.434 MB / 1.042 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 () * Number of clocked 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.0007325/2.036, allocations: 1 MB / 1.724 GB, free: 3.414 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001936/2.036, allocations: 89.67 kB / 1.725 GB, free: 3.344 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/2.036, allocations: 0 / 1.725 GB, free: 3.344 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/2.036, allocations: 50.09 kB / 1.725 GB, free: 3.305 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/2.036, allocations: 68.66 kB / 1.725 GB, free: 3.258 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/2.04, allocations: 2.442 MB / 1.727 GB, free: 1.016 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/2.04, allocations: 0.8201 MB / 1.728 GB, free: 188 kB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001921/2.04, allocations: 58.25 kB / 1.728 GB, free: 132 kB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/2.041, allocations: 80.16 kB / 1.728 GB, free: 108 kB / 1.042 GB Notification: Performance of SimCode: time 8.51e-07/2.041, allocations: 0 / 1.728 GB, free: 108 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/2.065, allocations: 6.77 MB / 1.735 GB, free: 9.57 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/2.065, allocations: 219.7 kB / 1.735 GB, free: 9.32 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/4.297, allocations: 0 / 1.735 GB, free: 9.32 MB / 1.057 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