Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 8.375 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001725/0.3084, allocations: 1.221 MB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3097, allocations: 0.8178 MB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.3098, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.3098, allocations: 4 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.3099, allocations: 11.86 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.3103, allocations: 103.6 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.851e-05/0.3104, allocations: 47.86 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3105, allocations: 19.97 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.3105, allocations: 19.92 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.3106, allocations: 23.86 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3106, allocations: 0 / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.311, allocations: 175.7 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.311, allocations: 7.984 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.311, allocations: 41.58 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3112, allocations: 104 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3113, allocations: 4 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3113, allocations: 4 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3113, allocations: 0 / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005797/0.3119, allocations: 407.2 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3119, allocations: 11.97 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.312, allocations: 8.875 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3121, allocations: 172.3 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3121, allocations: 8.375 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3121, allocations: 384 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.3124, allocations: 86.2 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3124, allocations: 192 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3124, allocations: 7.938 kB / 1.063 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3125, allocations: 0 / 1.063 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3128, allocations: 95.86 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3132, allocations: 284.7 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3134, allocations: 66.55 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3136, allocations: 52.89 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.3138, allocations: 93.09 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3138, allocations: 42.44 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3138, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005823/0.3144, allocations: 157.5 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3144, allocations: 63.39 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3146, allocations: 117.7 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3146, allocations: 25.7 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3146, allocations: 92.14 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3147, allocations: 3.906 kB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.3147, allocations: 13.7 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3148, allocations: 322.8 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.315, allocations: 43.97 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3151, allocations: 43.95 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.3154, allocations: 92.72 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3155, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003401/0.3158, allocations: 121.5 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3158, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3158, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3159, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.316, allocations: 19.98 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.316, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.3161, allocations: 27.91 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3161, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.3162, allocations: 121.7 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3162, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.3166, allocations: 133.4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3167, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3167, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3167, allocations: 4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3168, allocations: 181.7 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3168, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.317, allocations: 15.98 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.317, allocations: 4 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.317, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.317, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.317, allocations: 3.984 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3174, allocations: 223.4 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.3174, allocations: 89.38 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3174, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3176, allocations: 15.98 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3176, allocations: 3.984 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3177, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.3177, allocations: 91.27 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3177, allocations: 7.938 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.318, allocations: 32 kB / 1.065 GB, free: 14.64 MB / 0.8262 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.3182, allocations: 135.1 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.3186, allocations: 95.84 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3186, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3188, allocations: 47.97 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3191, allocations: 19.86 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3195, allocations: 188.3 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3197, allocations: 0.6887 MB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.3197, allocations: 11.44 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3198, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.00284/0.3226, allocations: 1.203 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches