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.001449/0.00145, allocations: 103.6 kB / 16.35 MB, free: 6.285 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.001429/0.001429, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.7 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3056, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002882/0.3086, allocations: 1.501 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3098, allocations: 0.8029 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.3099, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3099, allocations: 7.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.31, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.3105, allocations: 131.4 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.3106, allocations: 51.84 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3107, allocations: 23.97 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.3107, allocations: 15.94 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.3108, allocations: 27.84 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3108, allocations: 4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.3112, allocations: 175.7 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3112, allocations: 7.984 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3113, allocations: 23.88 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.3116, allocations: 151.5 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3116, allocations: 4 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3116, allocations: 4 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3116, allocations: 0 / 1.03 GB, free: 15.17 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.0005375/0.3121, allocations: 387.3 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3122, allocations: 16.02 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3122, allocations: 4.844 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3123, allocations: 176.2 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3123, allocations: 384 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3124, allocations: 4.375 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.3126, allocations: 78.2 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3126, allocations: 192 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3126, allocations: 3.938 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3127, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.3129, allocations: 71.92 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.3133, allocations: 280.7 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3135, allocations: 58.53 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3136, allocations: 40.91 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.3138, allocations: 93.09 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3138, allocations: 30.56 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3139, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004948/0.3144, allocations: 129.4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3144, allocations: 63.34 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.3145, allocations: 125.6 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3145, allocations: 25.7 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3146, allocations: 96.2 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3146, allocations: 7.812 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3146, allocations: 13.72 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.3147, allocations: 322.8 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3149, allocations: 35.97 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.315, allocations: 35.95 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.3153, allocations: 73 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3153, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002866/0.3156, allocations: 101.6 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3156, allocations: 4 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3156, allocations: 4 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3156, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3157, allocations: 11.98 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3157, allocations: 3.938 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.3158, allocations: 19.97 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3159, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 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 7.417e-05/0.3159, allocations: 121.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.316, allocations: 7.906 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.3163, allocations: 113.4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3163, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3163, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3163, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.3165, allocations: 173.6 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3165, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.3166, allocations: 15.98 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3166, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3166, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3167, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3167, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.317, allocations: 211.2 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.317, allocations: 84.98 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3171, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3172, allocations: 11.98 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3172, allocations: 15.98 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3172, allocations: 0 / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.3173, allocations: 91.27 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3173, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002754/0.3176, allocations: 28 kB / 1.033 GB, free: 11.69 MB / 0.8106 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.0002204/0.3178, allocations: 127.2 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3181, allocations: 71.92 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3181, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3183, allocations: 39.91 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3186, allocations: 15.92 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.319, allocations: 155.2 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3192, allocations: 0.6846 MB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3192, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.3193, allocations: 11.44 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3193, allocations: 0 / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of Templates: time 0.003907/0.3232, allocations: 1.376 MB / 1.035 GB, free: 9.164 MB / 0.8106 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 -s gbode -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