Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2552/0.2552, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1555, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.483/8.639, allocations: 3.576 GB / 4.055 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/8.639, allocations: 77.25 kB / 4.055 GB, free: 115 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.103/8.742, allocations: 47.44 MB / 4.101 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.913e-06/8.742, allocations: 0 / 4.101 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.895e-06/8.742, allocations: 0 / 4.101 GB, free: 67.06 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008538/8.743, allocations: 490.8 kB / 4.102 GB, free: 66.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/8.743, allocations: 8.031 kB / 4.102 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/8.743, allocations: 42.55 kB / 4.102 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/8.743, allocations: 4.531 kB / 4.102 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/8.743, allocations: 174.9 kB / 4.102 GB, free: 66.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/8.743, allocations: 4 kB / 4.102 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/8.743, allocations: 4 kB / 4.102 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/8.744, allocations: 69.81 kB / 4.102 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/8.744, allocations: 0 / 4.102 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/8.744, allocations: 0 / 4.102 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/8.744, allocations: 4 kB / 4.102 GB, free: 66.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/8.744, allocations: 51.91 kB / 4.102 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/8.744, allocations: 300.8 kB / 4.102 GB, free: 65.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/8.744, allocations: 30.58 kB / 4.102 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/8.744, allocations: 93.28 kB / 4.102 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/8.744, allocations: 30.56 kB / 4.102 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/8.744, allocations: 0 / 4.102 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001633/8.745, allocations: 53.62 kB / 4.102 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/8.745, allocations: 55.41 kB / 4.102 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/8.745, allocations: 101 kB / 4.103 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/8.745, allocations: 25.7 kB / 4.103 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/8.745, allocations: 95.89 kB / 4.103 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/8.745, allocations: 15.88 kB / 4.103 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/8.745, allocations: 0 / 4.103 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/8.745, allocations: 310.8 kB / 4.103 GB, free: 64.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/8.745, allocations: 8 kB / 4.103 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/8.745, allocations: 43.36 kB / 4.103 GB, free: 64.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/8.745, allocations: 7.938 kB / 4.103 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/8.745, allocations: 4 kB / 4.103 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.981e-05/8.745, allocations: 65.61 kB / 4.103 GB, free: 64.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/8.745, allocations: 14.59 kB / 4.103 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/8.745, allocations: 0 / 4.103 GB, free: 64.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/8.745, allocations: 4.094 kB / 4.103 GB, free: 64.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/8.745, allocations: 20.02 kB / 4.103 GB, free: 64.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/8.745, allocations: 7.984 kB / 4.103 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/8.745, allocations: 7.844 kB / 4.103 GB, free: 64.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/8.745, allocations: 4 kB / 4.103 GB, free: 64.7 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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 5.718e-05/8.745, allocations: 117.8 kB / 4.103 GB, free: 64.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/8.745, allocations: 0 / 4.103 GB, free: 64.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/8.745, allocations: 69.09 kB / 4.103 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/8.745, allocations: 0 / 4.103 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/8.745, allocations: 3.953 kB / 4.103 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/8.745, allocations: 0 / 4.103 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/8.746, allocations: 157.7 kB / 4.103 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/8.746, allocations: 0 / 4.103 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/8.746, allocations: 8 kB / 4.103 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/8.746, allocations: 3.984 kB / 4.103 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/8.746, allocations: 4 kB / 4.103 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/8.746, allocations: 4 kB / 4.103 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/8.746, allocations: 0 / 4.103 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.622e-05/8.746, allocations: 143.4 kB / 4.104 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/8.746, allocations: 77.11 kB / 4.104 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/8.746, allocations: 0 / 4.104 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/8.746, allocations: 4 kB / 4.104 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/8.746, allocations: 3.984 kB / 4.104 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/8.746, allocations: 4 kB / 4.104 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.219e-05/8.746, allocations: 87.73 kB / 4.104 GB, free: 63.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/8.746, allocations: 0 / 4.104 GB, free: 63.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000562/8.746, allocations: 139.8 kB / 4.104 GB, free: 63.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.001242/8.748, allocations: 1.217 MB / 4.105 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.479e-05/8.748, allocations: 27.92 kB / 4.105 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/8.748, allocations: 0 / 4.105 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/8.748, allocations: 4.188 kB / 4.105 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/8.748, allocations: 10.19 kB / 4.105 GB, free: 62.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/8.748, allocations: 246.4 kB / 4.105 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/8.749, allocations: 0.6809 MB / 4.106 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.163e-05/8.749, allocations: 19.97 kB / 4.106 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/8.749, allocations: 15.44 kB / 4.106 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/8.749, allocations: 0 / 4.106 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/8.775, allocations: 11.84 MB / 4.118 GB, free: 49.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/8.775, allocations: 164.4 kB / 4.118 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/10.79, allocations: 0 / 4.118 GB, free: 49.43 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat