Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.209/2.209, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001042/0.001042, allocations: 172.9 kB / 487.4 MB, free: 5.074 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 99.89 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.199e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2746, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9396/1.214, allocations: 148.8 MB / 1.351 GB, free: 17.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.215, allocations: 83.89 kB / 1.351 GB, free: 17.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007151/1.222, allocations: 2.124 MB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.725e-06/1.222, allocations: 4.5 kB / 1.354 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.222, allocations: 0 / 1.354 GB, free: 33.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003203/1.222, allocations: 338.5 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.222, allocations: 8.297 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/1.222, allocations: 5.766 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/1.222, allocations: 168.3 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.222, allocations: 7.969 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/1.222, allocations: 0 / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001192/1.223, allocations: 12.61 kB / 1.354 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/1.223, allocations: 45.89 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/1.223, allocations: 3.984 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.223, allocations: 0 / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.223, allocations: 0 / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/1.223, allocations: 141.1 kB / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/1.223, allocations: 48.8 kB / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/1.223, allocations: 18.36 kB / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/1.223, allocations: 0 / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/1.223, allocations: 31.31 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/1.223, allocations: 0 / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.001193/1.224, allocations: 376 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/1.224, allocations: 51.41 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.654e-05/1.224, allocations: 85 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.224, allocations: 31.11 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/1.224, allocations: 80.14 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/1.225, allocations: 24.22 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/1.225, allocations: 0 / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.225, allocations: 315.5 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/1.225, allocations: 19.97 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/1.225, allocations: 15.48 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/1.225, allocations: 21.2 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/1.225, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/1.225, allocations: 82.16 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.225, allocations: 3.844 kB / 1.355 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.225, allocations: 3.938 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.225, allocations: 0.6562 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/1.225, allocations: 13.91 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.225, allocations: 0.7969 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/1.225, allocations: 0 / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/1.225, allocations: 8.047 kB / 1.355 GB, free: 31.75 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 (7): * Single equations (assignments): 7 * 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 7.143e-05/1.225, allocations: 104.9 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.844e-05/1.225, allocations: 78.61 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/1.225, allocations: 4.406 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/1.226, allocations: 91.09 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.226, allocations: 2.031 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.226, allocations: 4 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.226, allocations: 1.844 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.185e-05/1.226, allocations: 141.3 kB / 1.356 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.226, allocations: 1.188 kB / 1.356 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/1.226, allocations: 15.81 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.226, allocations: 3.812 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.226, allocations: 3.672 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.226, allocations: 128 / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.226, allocations: 4 kB / 1.356 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/1.226, allocations: 120 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/1.226, allocations: 89.53 kB / 1.356 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/1.226, allocations: 0.5625 kB / 1.356 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/1.226, allocations: 4.344 kB / 1.356 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/1.226, allocations: 1.688 kB / 1.356 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/1.226, allocations: 4.516 kB / 1.356 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.426e-05/1.226, allocations: 75.28 kB / 1.356 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.226, allocations: 0 / 1.356 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001843/1.226, allocations: 11.78 kB / 1.356 GB, free: 31.14 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 (7): * Single equations (assignments): 7 * 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.0004711/1.227, allocations: 0.6578 MB / 1.357 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001035/1.227, allocations: 46.44 kB / 1.357 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.227, allocations: 3.938 kB / 1.357 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/1.227, allocations: 23.58 kB / 1.357 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/1.227, allocations: 8.562 kB / 1.357 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/1.228, allocations: 115.3 kB / 1.357 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.228, allocations: 0.685 MB / 1.358 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.236e-05/1.228, allocations: 9.578 kB / 1.358 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/1.228, allocations: 16.36 kB / 1.358 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.228, allocations: 3.938 kB / 1.358 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.249, allocations: 1.145 MB / 1.359 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/1.249, allocations: 197.4 kB / 1.359 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.706, allocations: 1.312 kB / 1.359 GB, free: 29.4 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.mat does not exist to compare? outputFormat=mat