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.23/2.23, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001218/0.001218, allocations: 199.2 kB / 498.1 MB, free: 5.668 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.576/1.576, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0009393/0.0009392, allocations: 95.06 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 11.88 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5057, allocations: 151.4 MB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5061, allocations: 83.88 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.403/1.909, allocations: 348.9 MB / 1.712 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.893e-06/1.91, allocations: 4 kB / 1.712 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.052e-05/1.91, allocations: 4 kB / 1.712 GB, free: 15.56 MB / 0.9948 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.002442/1.912, allocations: 0.6051 MB / 1.712 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.912, allocations: 9.234 kB / 1.712 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/1.912, allocations: 30.56 kB / 1.712 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/1.912, allocations: 35.53 kB / 1.712 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/1.913, allocations: 393.2 kB / 1.713 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.913, allocations: 0 / 1.713 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.913, allocations: 4 kB / 1.713 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/1.913, allocations: 101 kB / 1.713 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.913, allocations: 0 / 1.713 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.913, allocations: 7.953 kB / 1.713 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.913, allocations: 3.938 kB / 1.713 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.913, allocations: 71.86 kB / 1.713 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/1.914, allocations: 328.2 kB / 1.713 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/1.914, allocations: 114.3 kB / 1.713 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/1.914, allocations: 3.938 kB / 1.713 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.914, allocations: 38.62 kB / 1.713 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=4): time 1.664e-06/1.914, allocations: 0 / 1.713 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4): time 0.0004014/1.914, allocations: 185.1 kB / 1.713 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/1.915, allocations: 132.5 kB / 1.714 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/1.915, allocations: 436.7 kB / 1.714 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.915, allocations: 25.7 kB / 1.714 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.915, allocations: 164.1 kB / 1.714 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/1.915, allocations: 19.73 kB / 1.714 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/1.915, allocations: 0.5 kB / 1.714 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.916, allocations: 342.8 kB / 1.715 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/1.916, allocations: 35.95 kB / 1.715 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.916, allocations: 94.77 kB / 1.715 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/1.916, allocations: 43.95 kB / 1.715 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.916, allocations: 0 / 1.715 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002376/1.916, allocations: 149.2 kB / 1.715 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.916, allocations: 4 kB / 1.715 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.916, allocations: 4 kB / 1.715 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.916, allocations: 0 / 1.715 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.916, allocations: 15.92 kB / 1.715 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.916, allocations: 3.953 kB / 1.715 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/1.916, allocations: 12.11 kB / 1.715 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.916, allocations: 4 kB / 1.715 GB, free: 11.89 MB / 0.9948 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.0001966/1.917, allocations: 173.8 kB / 1.715 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/1.917, allocations: 31.61 kB / 1.715 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/1.917, allocations: 187.7 kB / 1.715 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.917, allocations: 4 kB / 1.715 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.917, allocations: 0 / 1.715 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.917, allocations: 3.953 kB / 1.715 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/1.917, allocations: 305.3 kB / 1.716 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.917, allocations: 4 kB / 1.716 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/1.918, allocations: 19.92 kB / 1.716 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.918, allocations: 0 / 1.716 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.918, allocations: 144 / 1.716 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.918, allocations: 4 kB / 1.716 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.918, allocations: 3.938 kB / 1.716 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/1.918, allocations: 228.4 kB / 1.716 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/1.918, allocations: 128.6 kB / 1.716 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/1.918, allocations: 19.95 kB / 1.716 GB, free: 10.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.918, allocations: 7.984 kB / 1.716 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/1.918, allocations: 0 / 1.716 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.918, allocations: 7.938 kB / 1.716 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004503/1.919, allocations: 367.1 kB / 1.716 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.7e-07/1.919, allocations: 3.938 kB / 1.716 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002791/1.919, allocations: 44 kB / 1.716 GB, free: 10.25 MB / 0.9948 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.0008048/1.92, allocations: 0.9897 MB / 1.717 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001936/1.92, allocations: 84.41 kB / 1.717 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.92, allocations: 4.25 kB / 1.717 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/1.92, allocations: 51.89 kB / 1.717 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/1.921, allocations: 59.31 kB / 1.718 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/1.924, allocations: 2.452 MB / 1.72 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/1.924, allocations: 0.8262 MB / 1.721 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001963/1.925, allocations: 50.25 kB / 1.721 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.925, allocations: 87.41 kB / 1.721 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/1.925, allocations: 0 / 1.721 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/1.949, allocations: 6.77 MB / 1.727 GB, free: 14.95 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.949, allocations: 204 kB / 1.728 GB, free: 14.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/4.129, allocations: 4 kB / 1.728 GB, free: 14.71 MB / 1.01 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