Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001005/0.001006, allocations: 99.86 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.001004/0.001004, 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.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.419/2.419, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004223, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8556, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001512/0.8572, allocations: 0.9928 MB / 0.9546 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.858, allocations: 494.2 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.8581, allocations: 1.156 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.8581, allocations: 7.922 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.8582, allocations: 9.234 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.8586, allocations: 91.47 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.8587, allocations: 24.67 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.8588, allocations: 5.031 kB / 0.9552 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.8588, allocations: 9.906 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.8589, allocations: 11.3 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.8589, allocations: 1 kB / 0.9552 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.8593, allocations: 196.4 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.8593, allocations: 1.188 kB / 0.9554 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.8594, allocations: 28.39 kB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.8596, allocations: 76.77 kB / 0.9555 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8596, allocations: 0 / 0.9555 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8596, allocations: 0 / 0.9555 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8596, allocations: 1.344 kB / 0.9555 GB, free: 6.684 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004446/0.8601, allocations: 356.6 kB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.8601, allocations: 8.75 kB / 0.9558 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.8602, allocations: 35.62 kB / 0.9559 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.8606, allocations: 22.09 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.573e-05/0.8606, allocations: 172.1 kB / 0.956 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.8607, allocations: 1.969 kB / 0.956 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.8607, allocations: 5.078 kB / 0.956 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.8608, allocations: 47.12 kB / 0.9561 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8608, allocations: 5.344 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.8608, allocations: 3.953 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.8609, allocations: 1.312 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.476e-05/0.8609, allocations: 23.77 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.8611, allocations: 164.5 kB / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8612, allocations: 67.47 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.8612, allocations: 1.25 kB / 0.9563 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.8613, allocations: 31.75 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.8613, allocations: 0 / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002038/0.8615, allocations: 76.06 kB / 0.9564 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.8615, allocations: 60.45 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.8616, allocations: 96.03 kB / 0.9566 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.8616, allocations: 25.7 kB / 0.9566 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.66e-05/0.8616, allocations: 81.58 kB / 0.9567 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.8616, allocations: 22.84 kB / 0.9567 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.8616, allocations: 0 / 0.9567 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.8617, allocations: 311.8 kB / 0.957 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.8617, allocations: 14.67 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.8618, allocations: 9.594 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.8618, allocations: 19.78 kB / 0.9571 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8618, allocations: 0 / 0.9571 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001027/0.8619, allocations: 63 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8619, allocations: 5.031 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.862, allocations: 7.922 kB / 0.9571 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.862, allocations: 5.031 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.8621, allocations: 10.69 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8621, allocations: 1.094 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.8622, allocations: 5.234 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.8622, allocations: 5.297 kB / 0.9572 GB, free: 4.918 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 (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 6.807e-05/0.8623, allocations: 112 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.8623, allocations: 9.219 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.8625, allocations: 90.36 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8625, allocations: 1.156 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.8625, allocations: 4 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8625, allocations: 1.062 kB / 0.9574 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.895e-05/0.8626, allocations: 173.6 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8626, allocations: 0 / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.8627, allocations: 13.19 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.8627, allocations: 448 / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.8628, allocations: 1.188 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8628, allocations: 1.188 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8628, allocations: 7.984 kB / 0.9576 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.8629, allocations: 106.7 kB / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.863, allocations: 87.61 kB / 0.9577 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.863, allocations: 3.984 kB / 0.9577 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/0.8631, allocations: 1.375 kB / 0.9577 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.8631, allocations: 2.531 kB / 0.9577 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.8631, allocations: 1.344 kB / 0.9577 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.196e-05/0.8631, allocations: 76.69 kB / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8631, allocations: 0 / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001994/0.8633, allocations: 12.66 kB / 0.9578 GB, free: 4.215 MB / 0.7169 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 (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.0003249/0.8637, allocations: 0.638 MB / 0.9585 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.8638, allocations: 37.23 kB / 0.9585 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8638, allocations: 0 / 0.9585 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.8638, allocations: 22.23 kB / 0.9585 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.864, allocations: 10.97 kB / 0.9585 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.8645, allocations: 178.9 kB / 0.9587 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.8646, allocations: 0.682 MB / 0.9594 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.8647, allocations: 9.297 kB / 0.9594 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.8647, allocations: 10.53 kB / 0.9594 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8647, allocations: 0 / 0.9594 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.8769, allocations: 1.187 MB / 0.9605 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.8771, allocations: 211.8 kB / 0.9607 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.487, allocations: 0 / 0.9607 GB, free: 1.906 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat