Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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 1.975/1.975, allocations: 390.5 MB / 398 MB, free: 10.89 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.00103/0.00103, allocations: 172.8 kB / 491.2 MB, free: 1.539 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.263/1.263, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0008946/0.0008946, allocations: 95.88 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.529e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6788/0.8743, allocations: 149.6 MB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.8746, allocations: 82.95 kB / 1.359 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004575/0.8791, allocations: 1.862 MB / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8792, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.8792, allocations: 0 / 1.36 GB, free: 32.84 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002035/0.8794, allocations: 330.6 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.8794, allocations: 15.66 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.8795, allocations: 7.016 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.279e-05/0.8796, allocations: 163.8 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.8796, allocations: 6.469 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.8796, allocations: 3.938 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.88e-05/0.8797, allocations: 11.22 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/0.8798, allocations: 48.05 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.8798, allocations: 0 / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.8798, allocations: 0 / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.8798, allocations: 4 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.139e-05/0.8799, allocations: 141.2 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.88, allocations: 39.12 kB / 1.361 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.88, allocations: 19.36 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.88, allocations: 0 / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.88, allocations: 35.8 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.88, allocations: 4 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.001584/0.8816, allocations: 474 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.436e-05/0.8816, allocations: 55.41 kB / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.987e-05/0.8817, allocations: 85 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.8817, allocations: 25.7 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.8817, allocations: 80.14 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8817, allocations: 28.83 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.8817, allocations: 0 / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.8818, allocations: 323 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.8818, allocations: 20.56 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.8819, allocations: 17.88 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.8819, allocations: 30.52 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.8819, allocations: 0 / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.845e-05/0.882, allocations: 84.94 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.882, allocations: 6.938 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8821, allocations: 0.8906 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.8821, allocations: 0 / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.8822, allocations: 18.97 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.8822, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.8823, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.8823, allocations: 3.891 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.2e-05/0.8823, allocations: 108.9 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.256e-05/0.8824, allocations: 84.03 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.8824, allocations: 1.5 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.8825, allocations: 11.22 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8825, allocations: 3.781 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.8825, allocations: 0 / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8825, allocations: 0.6094 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.298e-05/0.8826, allocations: 158.6 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8826, allocations: 0.75 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.8827, allocations: 13.17 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8827, allocations: 4 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.8827, allocations: 0.7031 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8827, allocations: 5.469 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8828, allocations: 0 / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.8829, allocations: 137.2 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.8829, allocations: 82.27 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.883, allocations: 0 / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.883, allocations: 9.094 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.8831, allocations: 4.812 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.8831, allocations: 9.062 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.991e-05/0.8831, allocations: 75.28 kB / 1.363 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8831, allocations: 0 / 1.363 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001811/0.8833, allocations: 11.38 kB / 1.363 GB, free: 30.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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.0003308/0.8836, allocations: 0.6931 MB / 1.364 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.429e-05/0.8837, allocations: 55.64 kB / 1.364 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8837, allocations: 0 / 1.364 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.8838, allocations: 27.41 kB / 1.364 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.8839, allocations: 4.516 kB / 1.364 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.8844, allocations: 146.1 kB / 1.364 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.8845, allocations: 0.6795 MB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.847e-05/0.8846, allocations: 14.92 kB / 1.365 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.8847, allocations: 19 kB / 1.365 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.8847, allocations: 0 / 1.365 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.9007, allocations: 1.065 MB / 1.366 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.9009, allocations: 205.6 kB / 1.366 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.358/2.258, allocations: 2.938 kB / 1.366 GB, free: 28.76 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat