Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003882, allocations: 16 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8282, allocations: 142.3 MB / 0.9536 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.001311/0.8296, allocations: 0.9639 MB / 0.9545 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006099/0.8302, allocations: 336.9 kB / 0.9549 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.8302, allocations: 0 / 0.9549 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.8303, allocations: 0 / 0.9549 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.8303, allocations: 1.25 kB / 0.9549 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.8307, allocations: 62.27 kB / 0.9549 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.8307, allocations: 11.62 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.8308, allocations: 1.156 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.8308, allocations: 5.344 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.8309, allocations: 14.33 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.8309, allocations: 1.344 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.8311, allocations: 111.8 kB / 0.9551 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.8312, allocations: 9.109 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.8312, allocations: 26.77 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.8313, allocations: 38.48 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8313, allocations: 5.531 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8313, allocations: 0 / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8313, allocations: 0 / 0.9551 GB, free: 7.078 MB / 0.7169 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.000323/0.8317, allocations: 335.8 kB / 0.9555 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.8317, allocations: 9.844 kB / 0.9555 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.8318, allocations: 36.08 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.832, allocations: 4.844 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.832, allocations: 171 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.8321, allocations: 1.344 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.8321, allocations: 5.375 kB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.8322, allocations: 39.44 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8322, allocations: 1.219 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8322, allocations: 7.891 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8323, allocations: 1.344 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.8323, allocations: 13.12 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.8324, allocations: 153.7 kB / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.8326, allocations: 51.27 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8327, allocations: 0 / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.8327, allocations: 31.75 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.8327, allocations: 1.25 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000646/0.8333, allocations: 302.8 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.8334, allocations: 56.62 kB / 0.9563 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.524e-05/0.8334, allocations: 97.8 kB / 0.9564 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.8334, allocations: 27.17 kB / 0.9564 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.8334, allocations: 80.14 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.8335, allocations: 22.05 kB / 0.9565 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.8335, allocations: 0 / 0.9565 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.8335, allocations: 316 kB / 0.9568 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.8336, allocations: 9.656 kB / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.8336, allocations: 18.38 kB / 0.9569 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.8336, allocations: 15.3 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8336, allocations: 0 / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.14e-05/0.8337, allocations: 66.2 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8338, allocations: 5.062 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.8338, allocations: 1.25 kB / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8338, allocations: 0 / 0.9569 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.8339, allocations: 13.3 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8339, allocations: 5.172 kB / 0.957 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.8339, allocations: 4 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8339, allocations: 5.719 kB / 0.957 GB, free: 5.117 MB / 0.7169 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 () * Number of clocked 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 5.393e-05/0.834, allocations: 113.5 kB / 0.9571 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.834, allocations: 5.062 kB / 0.9571 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.8341, allocations: 69.64 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.8341, allocations: 1.062 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8341, allocations: 0 / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.8341, allocations: 3.953 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.8342, allocations: 160.3 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8342, allocations: 1.094 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.8343, allocations: 18.14 kB / 0.9573 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8343, allocations: 0.7812 kB / 0.9573 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.8343, allocations: 5.062 kB / 0.9573 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.8343, allocations: 3.938 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8343, allocations: 0.8438 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.8345, allocations: 104.1 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.8345, allocations: 86.2 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.8345, allocations: 1.219 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.8346, allocations: 5.156 kB / 0.9575 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.8346, allocations: 2.5 kB / 0.9575 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.8346, allocations: 9.219 kB / 0.9575 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.557e-05/0.8346, allocations: 79.27 kB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8346, allocations: 1.25 kB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001803/0.8348, allocations: 4.969 kB / 0.9576 GB, free: 4.438 MB / 0.7169 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 () * Number of clocked 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.0003153/0.8352, allocations: 0.6542 MB / 0.9583 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.8353, allocations: 32.7 kB / 0.9583 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8353, allocations: 0 / 0.9583 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.8353, allocations: 25.55 kB / 0.9583 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.8354, allocations: 1 kB / 0.9583 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.8359, allocations: 416.5 kB / 0.9587 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.8361, allocations: 0.6807 MB / 0.9594 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.8361, allocations: 2.188 kB / 0.9594 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.8362, allocations: 14.89 kB / 0.9594 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.8362, allocations: 3.938 kB / 0.9594 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.8495, allocations: 1.109 MB / 0.9605 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.8498, allocations: 252.8 kB / 0.9607 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.515, allocations: 1.812 kB / 0.9607 GB, free: 1.906 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.mat does not exist to compare? outputFormat=mat