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.000962/0.0009619, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009538/0.0009544, allocations: 172.7 kB / 15.95 MB, free: 208 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.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.418 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.49/2.49, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004986, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9043/0.9048, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001614/0.9065, allocations: 1.008 MB / 0.9548 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.9076, allocations: 0.7077 MB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.9076, allocations: 5.406 kB / 0.9555 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.9076, allocations: 3.984 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.9077, allocations: 9.391 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.9081, allocations: 140.7 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.9082, allocations: 25.72 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.9083, allocations: 1.25 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.9083, allocations: 9.875 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.9084, allocations: 8.391 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.9084, allocations: 5.156 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.9089, allocations: 281 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.9089, allocations: 9.141 kB / 0.956 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.909, allocations: 33.14 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.9092, allocations: 108.8 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9092, allocations: 0 / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9092, allocations: 0 / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.9092, allocations: 0 / 0.9561 GB, free: 6.41 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.0004488/0.9097, allocations: 364.7 kB / 0.9565 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.9097, allocations: 17.34 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.9098, allocations: 31.81 kB / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.91, allocations: 21.53 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.301e-05/0.9101, allocations: 168.4 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.9101, allocations: 1.219 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.9101, allocations: 1.5 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.9102, allocations: 47.59 kB / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.9103, allocations: 0 / 0.9568 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.9103, allocations: 8.953 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.9103, allocations: 5.312 kB / 0.9568 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.9104, allocations: 24.36 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.9105, allocations: 159.7 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.9106, allocations: 62.84 kB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.9107, allocations: 19.52 kB / 0.957 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.9107, allocations: 9.344 kB / 0.957 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.9107, allocations: 39.59 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.9107, allocations: 3.938 kB / 0.9571 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001922/0.9109, allocations: 76.91 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.911, allocations: 56.55 kB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.911, allocations: 90.8 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.911, allocations: 26.86 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.9111, allocations: 80.14 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.9111, allocations: 31.27 kB / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.9111, allocations: 0 / 0.9574 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.9112, allocations: 311.8 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.9112, allocations: 13.39 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.9112, allocations: 10.84 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.9113, allocations: 11.28 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9113, allocations: 0 / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.52e-05/0.9114, allocations: 67.47 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9114, allocations: 4.188 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9114, allocations: 5.25 kB / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.9114, allocations: 0 / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.9116, allocations: 17.89 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9116, allocations: 3.953 kB / 0.9578 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.9116, allocations: 4 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.9116, allocations: 0.6875 kB / 0.9578 GB, free: 4.625 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.445e-05/0.9117, allocations: 108.5 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.9117, allocations: 6.562 kB / 0.958 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.9119, allocations: 97.33 kB / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9119, allocations: 0 / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.912, allocations: 1.25 kB / 0.9581 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.912, allocations: 7.891 kB / 0.9581 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.9121, allocations: 162 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9121, allocations: 448 / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.9122, allocations: 21.05 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9122, allocations: 0 / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.9122, allocations: 9 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9122, allocations: 0.9375 kB / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9122, allocations: 0 / 0.9582 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.9123, allocations: 102.8 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.9124, allocations: 83.83 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.9124, allocations: 5.188 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.9125, allocations: 1.531 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.9125, allocations: 9.984 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.9125, allocations: 1.156 kB / 0.9584 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.116e-05/0.9125, allocations: 76.47 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9126, allocations: 0 / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001939/0.9128, allocations: 12.16 kB / 0.9585 GB, free: 3.922 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.000342/0.9131, allocations: 0.6455 MB / 0.9592 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.9132, allocations: 37 kB / 0.9592 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9132, allocations: 0 / 0.9592 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.9133, allocations: 26.3 kB / 0.9592 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.9135, allocations: 8.906 kB / 0.9592 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.914, allocations: 174.6 kB / 0.9594 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.9142, allocations: 0.6835 MB / 0.9601 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.37e-05/0.9142, allocations: 3.812 kB / 0.9601 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.9143, allocations: 9.875 kB / 0.9601 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9143, allocations: 0 / 0.9601 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.9257, allocations: 1.206 MB / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.9259, allocations: 218.9 kB / 0.9615 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.616, allocations: 1.375 kB / 0.9615 GB, free: 1.602 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