Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.001125/0.001125, allocations: 172.9 kB / 492.3 MB, free: 0.6328 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.639/1.639, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001172/0.001172, allocations: 92.78 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.667e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3342, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.551, allocations: 151.3 MB / 1.36 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.551, allocations: 75.91 kB / 1.36 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8276/2.379, allocations: 348.9 MB / 1.701 GB, free: 4.676 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.492e-06/2.379, allocations: 0 / 1.701 GB, free: 4.676 MB / 1.12 GB Notification: Performance of Transformations before backend: time 2.042e-05/2.379, allocations: 4 kB / 1.701 GB, free: 4.672 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.001725/2.381, allocations: 0.5028 MB / 1.702 GB, free: 4.145 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/2.381, allocations: 8.031 kB / 1.702 GB, free: 4.137 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/2.381, allocations: 38.52 kB / 1.702 GB, free: 4.09 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/2.381, allocations: 31.53 kB / 1.702 GB, free: 4.059 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/2.381, allocations: 378.1 kB / 1.702 GB, free: 3.695 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/2.381, allocations: 4 kB / 1.702 GB, free: 3.691 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/2.381, allocations: 0 / 1.702 GB, free: 3.691 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/2.382, allocations: 104.6 kB / 1.702 GB, free: 3.582 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/2.382, allocations: 3.938 kB / 1.702 GB, free: 3.578 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/2.382, allocations: 0 / 1.702 GB, free: 3.578 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/2.382, allocations: 7.891 kB / 1.702 GB, free: 3.57 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/2.382, allocations: 70.5 kB / 1.702 GB, free: 3.516 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/2.382, allocations: 332.6 kB / 1.702 GB, free: 3.184 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/2.382, allocations: 112 kB / 1.703 GB, free: 3.047 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/2.382, allocations: 64.08 kB / 1.703 GB, free: 2.98 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/2.382, allocations: 4 kB / 1.703 GB, free: 2.977 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/2.383, allocations: 49.98 kB / 1.703 GB, free: 2.922 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/2.383, allocations: 0 / 1.703 GB, free: 2.922 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0002957/2.383, allocations: 136.7 kB / 1.703 GB, free: 2.797 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/2.383, allocations: 140.6 kB / 1.703 GB, free: 2.629 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/2.383, allocations: 432 kB / 1.703 GB, free: 2.285 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/2.383, allocations: 25.7 kB / 1.703 GB, free: 2.254 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/2.384, allocations: 165.7 kB / 1.704 GB, free: 2.145 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/2.384, allocations: 18.86 kB / 1.704 GB, free: 2.129 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/2.384, allocations: 0 / 1.704 GB, free: 2.129 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001273/2.384, allocations: 348 kB / 1.704 GB, free: 1.793 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/2.384, allocations: 31.22 kB / 1.704 GB, free: 1.77 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/2.384, allocations: 96.44 kB / 1.704 GB, free: 1.66 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/2.384, allocations: 39.95 kB / 1.704 GB, free: 1.629 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.384, allocations: 0 / 1.704 GB, free: 1.629 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002537/2.384, allocations: 153.8 kB / 1.704 GB, free: 1.488 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/2.384, allocations: 4 kB / 1.704 GB, free: 1.484 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/2.384, allocations: 0 / 1.704 GB, free: 1.484 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/2.384, allocations: 4 kB / 1.704 GB, free: 1.48 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/2.384, allocations: 11.98 kB / 1.704 GB, free: 1.469 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/2.384, allocations: 0 / 1.704 GB, free: 1.469 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/2.385, allocations: 11.27 kB / 1.704 GB, free: 1.461 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/2.385, allocations: 7.984 kB / 1.704 GB, free: 1.453 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 9.453e-05/2.385, allocations: 109.1 kB / 1.704 GB, free: 1.34 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/2.385, allocations: 27.62 kB / 1.704 GB, free: 1.312 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/2.385, allocations: 182.8 kB / 1.705 GB, free: 1.164 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/2.385, allocations: 4 kB / 1.705 GB, free: 1.16 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.385, allocations: 0 / 1.705 GB, free: 1.16 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/2.385, allocations: 12.11 kB / 1.705 GB, free: 1.148 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/2.386, allocations: 303.5 kB / 1.705 GB, free: 0.8477 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.386, allocations: 3.938 kB / 1.705 GB, free: 0.8438 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/2.386, allocations: 19.92 kB / 1.705 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/2.386, allocations: 0 / 1.705 GB, free: 0.8242 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/2.386, allocations: 4 kB / 1.705 GB, free: 0.8203 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/2.386, allocations: 0 / 1.705 GB, free: 0.8203 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.386, allocations: 0 / 1.705 GB, free: 0.8203 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/2.386, allocations: 219.9 kB / 1.705 GB, free: 0.582 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/2.386, allocations: 138.9 kB / 1.705 GB, free: 448 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/2.386, allocations: 7.891 kB / 1.705 GB, free: 440 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/2.386, allocations: 7.984 kB / 1.705 GB, free: 432 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/2.386, allocations: 11.94 kB / 1.705 GB, free: 420 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/2.386, allocations: 7.984 kB / 1.705 GB, free: 412 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0004199/2.387, allocations: 359.1 kB / 1.706 GB, free: 132 kB / 1.12 GB Notification: Performance of sort global known variables: time 1.61e-07/2.387, allocations: 0 / 1.706 GB, free: 132 kB / 1.12 GB Notification: Performance of remove unused functions: time 0.0002977/2.387, allocations: 43.06 kB / 1.706 GB, free: 92 kB / 1.12 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.0008221/2.388, allocations: 0.9955 MB / 1.707 GB, free: 15.07 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002033/2.388, allocations: 86.86 kB / 1.707 GB, free: 15 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/2.388, allocations: 0 / 1.707 GB, free: 15 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/2.388, allocations: 45.03 kB / 1.707 GB, free: 14.97 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/2.389, allocations: 64.34 kB / 1.707 GB, free: 14.93 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/2.39, allocations: 0.507 MB / 1.707 GB, free: 14.42 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/2.39, allocations: 0.8239 MB / 1.708 GB, free: 13.59 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001934/2.391, allocations: 54.02 kB / 1.708 GB, free: 13.53 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/2.391, allocations: 87.22 kB / 1.708 GB, free: 13.49 MB / 1.135 GB Notification: Performance of SimCode: time 2.4e-07/2.391, allocations: 0 / 1.708 GB, free: 13.49 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/2.413, allocations: 6.707 MB / 1.715 GB, free: 7.008 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/2.413, allocations: 182.5 kB / 1.715 GB, free: 6.777 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/4.34, allocations: 4 kB / 1.715 GB, free: 6.773 MB / 1.135 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat does not exist to compare? outputFormat=mat