Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 84.12 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.723/1.723, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.694/2.694, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.734e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004151/0.004188, allocations: 1.498 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.006004, allocations: 0.76 MB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.006061, allocations: 0 / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.006103, allocations: 7.938 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.006174, allocations: 11.86 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.006879, allocations: 127.3 kB / 0.9533 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.00701, allocations: 59.77 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.007123, allocations: 11.98 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.007206, allocations: 27.92 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.007276, allocations: 19.97 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.007302, allocations: 4 kB / 0.9534 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.007817, allocations: 167.6 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.007842, allocations: 8 kB / 0.9536 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.007885, allocations: 19.92 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.008343, allocations: 171.5 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.008347, allocations: 4 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008349, allocations: 0 / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.00836, allocations: 0 / 0.9538 GB, free: 8.684 MB / 0.8575 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.0007495/0.00911, allocations: 327.9 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.00915, allocations: 8.031 kB / 0.9541 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.009191, allocations: 8.891 kB / 0.9541 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.009333, allocations: 121.7 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.009345, allocations: 4.375 kB / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.009361, allocations: 384 / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.009652, allocations: 78.16 kB / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.009662, allocations: 4.188 kB / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.009673, allocations: 384 / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.009678, allocations: 384 / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.01, allocations: 71.86 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.01037, allocations: 216.5 kB / 0.9546 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.0106, allocations: 62.47 kB / 0.9546 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01077, allocations: 36.92 kB / 0.9547 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.01093, allocations: 15.97 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.01096, allocations: 34.5 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.01096, allocations: 3.938 kB / 0.9547 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005988/0.01156, allocations: 137.5 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.0116, allocations: 51.41 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.0117, allocations: 117.8 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01172, allocations: 25.7 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.01178, allocations: 88.09 kB / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.0118, allocations: 12.02 kB / 0.9551 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.01184, allocations: 13.72 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01198, allocations: 318.8 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01214, allocations: 31.95 kB / 0.9555 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.01229, allocations: 31.97 kB / 0.9555 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.01261, allocations: 68.78 kB / 0.9556 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01261, allocations: 4 kB / 0.9556 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003629/0.01298, allocations: 101.5 kB / 0.9557 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01299, allocations: 4 kB / 0.9557 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.013, allocations: 3.938 kB / 0.9557 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01301, allocations: 0 / 0.9557 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01315, allocations: 23.97 kB / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.01315, allocations: 0 / 0.9557 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.01324, allocations: 16.3 kB / 0.9557 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.01325, allocations: 0 / 0.9557 GB, free: 6.508 MB / 0.8575 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 9.08e-05/0.01334, allocations: 113.8 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.01337, allocations: 3.938 kB / 0.9558 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.01378, allocations: 117.5 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01378, allocations: 0 / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01379, allocations: 0 / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01379, allocations: 0 / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.01395, allocations: 121.3 kB / 0.956 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01395, allocations: 0 / 0.956 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.01405, allocations: 15.92 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01406, allocations: 0 / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.01407, allocations: 11.94 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01408, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01408, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.01449, allocations: 195.4 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.0145, allocations: 11.94 kB / 0.9563 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01452, allocations: 3.938 kB / 0.9563 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01463, allocations: 12.41 kB / 0.9563 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.01469, allocations: 7.984 kB / 0.9563 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01469, allocations: 4 kB / 0.9563 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.01475, allocations: 87.28 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01475, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003008/0.01505, allocations: 39.81 kB / 0.9564 GB, free: 5.711 MB / 0.8575 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.0002749/0.01533, allocations: 135 kB / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.0157, allocations: 71.91 kB / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0157, allocations: 4 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.01587, allocations: 31.97 kB / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.0162, allocations: 8 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.01658, allocations: 148.6 kB / 0.9568 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.01665, allocations: 71.33 kB / 0.9569 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.01668, allocations: 8 kB / 0.9569 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.01672, allocations: 12.78 kB / 0.9569 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.01672, allocations: 0 / 0.9569 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of Templates: time 0.004777/0.0215, allocations: 1.41 MB / 0.9583 GB, free: 3.789 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.111730180680752]