Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001796/0.001796, allocations: 100.1 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.002214/0.002215, 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 2.691/2.691, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.516/4.516, allocations: 409.2 MB / 0.6838 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007582/0.0007582, allocations: 12 kB / 0.8375 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587/1.588, allocations: 146.8 MB / 0.9809 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003084/1.591, allocations: 0.984 MB / 0.9818 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002409/1.593, allocations: 0.736 MB / 0.9825 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/1.593, allocations: 0 / 0.9825 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/1.593, allocations: 3.938 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/1.594, allocations: 3.984 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/1.594, allocations: 103.7 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000137/1.595, allocations: 23.95 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/1.595, allocations: 4 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/1.595, allocations: 11.94 kB / 0.9827 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/1.595, allocations: 7.984 kB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/1.595, allocations: 0 / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/1.596, allocations: 183.7 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/1.596, allocations: 15.91 kB / 0.9829 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/1.596, allocations: 29.7 kB / 0.9829 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/1.596, allocations: 78.11 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.596, allocations: 4 kB / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.847e-06/1.596, allocations: 0 / 0.983 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.596, allocations: 0 / 0.983 GB, free: 4.027 MB / 0.7325 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.0009128/1.597, allocations: 351.2 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.794e-05/1.597, allocations: 12.03 kB / 0.9833 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/1.597, allocations: 34.56 kB / 0.9834 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/1.597, allocations: 7.938 kB / 0.9834 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/1.598, allocations: 163.1 kB / 0.9835 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.598, allocations: 25.7 kB / 0.9836 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/1.598, allocations: 7.953 kB / 0.9836 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/1.598, allocations: 53.59 kB / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.598, allocations: 0 / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.598, allocations: 0 / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.598, allocations: 0 / 0.9836 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/1.599, allocations: 19.98 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/1.599, allocations: 161.7 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/1.599, allocations: 46.56 kB / 0.9838 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005891/1.6, allocations: 178.3 kB / 0.984 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.6, allocations: 34.52 kB / 0.984 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/1.6, allocations: 4 kB / 0.984 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005096/1.601, allocations: 73.52 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/1.601, allocations: 51.41 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.601, allocations: 97.86 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/1.601, allocations: 29.69 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/1.601, allocations: 80.14 kB / 0.9844 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/1.601, allocations: 11.91 kB / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/1.601, allocations: 3.938 kB / 0.9844 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002343/1.601, allocations: 314.8 kB / 0.9847 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/1.601, allocations: 11.98 kB / 0.9847 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/1.602, allocations: 8 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.095e-05/1.602, allocations: 11.98 kB / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.602, allocations: 0 / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002672/1.602, allocations: 61.53 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.602, allocations: 7.953 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.602, allocations: 0 / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.602, allocations: 4 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.602, allocations: 11.98 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.602, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/1.602, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.602, allocations: 4 kB / 0.9848 GB, free: 1.918 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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 0.0001629/1.602, allocations: 109.8 kB / 0.9849 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/1.603, allocations: 4 kB / 0.9849 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.603, allocations: 77.52 kB / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.603, allocations: 0 / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.603, allocations: 0 / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.603, allocations: 0 / 0.985 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/1.603, allocations: 161.7 kB / 0.9851 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.603, allocations: 4.031 kB / 0.9851 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/1.603, allocations: 7.984 kB / 0.9851 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.603, allocations: 4 kB / 0.9851 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.603, allocations: 4 kB / 0.9852 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.986e-06/1.603, allocations: 3.953 kB / 0.9852 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.603, allocations: 4 kB / 0.9852 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/1.604, allocations: 92.95 kB / 0.9852 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/1.604, allocations: 81.05 kB / 0.9853 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.604, allocations: 4 kB / 0.9853 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/1.604, allocations: 3.984 kB / 0.9853 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/1.604, allocations: 7.953 kB / 0.9853 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/1.604, allocations: 0 / 0.9853 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.187e-05/1.604, allocations: 83.28 kB / 0.9854 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/1.604, allocations: 4 kB / 0.9854 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005143/1.605, allocations: 31.98 kB / 0.9855 GB, free: 1.141 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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.0009768/1.606, allocations: 0.6476 MB / 0.9861 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002637/1.606, allocations: 35.91 kB / 0.9861 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.606, allocations: 0 / 0.9861 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/1.606, allocations: 8 kB / 0.9861 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.606, allocations: 19.88 kB / 0.9861 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/1.607, allocations: 184 kB / 0.9863 GB, free: 184 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/1.608, allocations: 0.6848 MB / 0.987 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.527e-05/1.608, allocations: 3.984 kB / 0.987 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/1.608, allocations: 11.44 kB / 0.987 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.608, allocations: 0 / 0.987 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/1.636, allocations: 1.701 MB / 0.9887 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005592/1.637, allocations: 190.6 kB / 0.9888 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/4.663, allocations: 4 kB / 0.9889 GB, free: 13.67 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat does not exist to compare? outputFormat=mat