Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_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_9_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.001129/0.001129, allocations: 91.92 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.001396/0.001396, 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.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003754, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7127, allocations: 142.4 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001525/0.7143, allocations: 1.189 MB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.7153, allocations: 0.7646 MB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.7154, allocations: 0 / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.7154, allocations: 3.938 kB / 0.9563 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.7155, allocations: 9.391 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.7158, allocations: 112.9 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.7159, allocations: 46.45 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.716, allocations: 14.2 kB / 0.9565 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.716, allocations: 14.61 kB / 0.9565 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.7161, allocations: 23.42 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.7161, allocations: 1.438 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.7164, allocations: 172.8 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.7165, allocations: 5.359 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.7165, allocations: 35.77 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.7166, allocations: 103.2 kB / 0.9569 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7167, allocations: 3.938 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7167, allocations: 1.094 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7167, allocations: 0 / 0.9569 GB, free: 5.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004429/0.7171, allocations: 407 kB / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7172, allocations: 9.812 kB / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.7172, allocations: 6.5 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.7173, allocations: 174.4 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.7173, allocations: 1.188 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7173, allocations: 10.47 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.7176, allocations: 82.81 kB / 0.9575 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7176, allocations: 0 / 0.9575 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.7176, allocations: 0 / 0.9575 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7176, allocations: 5.359 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.7179, allocations: 89.14 kB / 0.9576 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.7183, allocations: 282.8 kB / 0.9579 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.7185, allocations: 66.97 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.7187, allocations: 61.41 kB / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.7188, allocations: 89.62 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7189, allocations: 31.56 kB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.7189, allocations: 0 / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005819/0.7195, allocations: 172.3 kB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.7195, allocations: 51.41 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.7196, allocations: 115.6 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.7196, allocations: 27.14 kB / 0.9585 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.7197, allocations: 89.91 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.7197, allocations: 17.03 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.7197, allocations: 4 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.7198, allocations: 313.4 kB / 0.9589 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.72, allocations: 42.83 kB / 0.9589 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.7201, allocations: 43.53 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.7203, allocations: 42.7 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7203, allocations: 4 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.7206, allocations: 127.2 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7206, allocations: 3.562 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7206, allocations: 1.688 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.7206, allocations: 3.938 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.7208, allocations: 18.58 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7208, allocations: 1.844 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.7209, allocations: 35.34 kB / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.7209, allocations: 0 / 0.9592 GB, free: 3.766 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 (3): * Single equations (assignments): 3 * 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.997e-05/0.721, allocations: 109.8 kB / 0.9593 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.721, allocations: 9.828 kB / 0.9593 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.7214, allocations: 128.2 kB / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7214, allocations: 0 / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7214, allocations: 1.562 kB / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7214, allocations: 0 / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.7215, allocations: 169.9 kB / 0.9596 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7215, allocations: 5.375 kB / 0.9596 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.7216, allocations: 23.05 kB / 0.9596 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7216, allocations: 0 / 0.9596 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.7216, allocations: 5.328 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7217, allocations: 0 / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7217, allocations: 0 / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.722, allocations: 225.2 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.722, allocations: 78.48 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7221, allocations: 0 / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.7222, allocations: 20.31 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.7222, allocations: 9.359 kB / 0.9599 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.7223, allocations: 1.375 kB / 0.9599 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.7223, allocations: 92.89 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7223, allocations: 4 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002815/0.7226, allocations: 29.94 kB / 0.9601 GB, free: 2.961 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 (3): * Single equations (assignments): 3 * 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.0002074/0.7228, allocations: 136 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.7231, allocations: 95.05 kB / 0.9603 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7231, allocations: 0 / 0.9603 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.7233, allocations: 46.22 kB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.7236, allocations: 13.77 kB / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.7239, allocations: 164.8 kB / 0.9605 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.724, allocations: 0.6903 MB / 0.9612 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.7241, allocations: 1.375 kB / 0.9612 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.7241, allocations: 10.19 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7241, allocations: 0 / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.003633/0.7277, allocations: 1.2 MB / 0.9624 GB, free: 1.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches