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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 101.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7611 GB, free: 15.74 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.242, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002767/1.245, allocations: 1.503 MB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001288/1.246, allocations: 0.8171 MB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/1.246, allocations: 0.875 kB / 1.271 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/1.246, allocations: 5.156 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/1.247, allocations: 14.81 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/1.247, allocations: 134.1 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/1.247, allocations: 47.45 kB / 1.271 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/1.247, allocations: 16.78 kB / 1.271 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/1.247, allocations: 23.14 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/1.247, allocations: 21.05 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/1.247, allocations: 3.969 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/1.248, allocations: 177.8 kB / 1.271 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/1.248, allocations: 11 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/1.248, allocations: 20.56 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/1.248, allocations: 149 kB / 1.272 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.248, allocations: 4 kB / 1.272 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.996e-06/1.248, allocations: 0.7188 kB / 1.272 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.248, allocations: 0 / 1.272 GB, free: 5.887 MB / 0.9981 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.0005842/1.249, allocations: 400.7 kB / 1.272 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.249, allocations: 10.38 kB / 1.272 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/1.249, allocations: 32.47 kB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/1.249, allocations: 11.84 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/1.249, allocations: 172.5 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.249, allocations: 6.734 kB / 1.272 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/1.249, allocations: 2.469 kB / 1.272 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/1.249, allocations: 72.27 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.249, allocations: 3.938 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.249, allocations: 0.7812 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.249, allocations: 0.7812 kB / 1.272 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/1.25, allocations: 74.16 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/1.25, allocations: 290.3 kB / 1.273 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/1.25, allocations: 55.56 kB / 1.273 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/1.251, allocations: 39.94 kB / 1.273 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.251, allocations: 92.83 kB / 1.273 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.251, allocations: 32.22 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/1.251, allocations: 0.9375 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005468/1.251, allocations: 137.2 kB / 1.273 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.251, allocations: 52.41 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.251, allocations: 122.1 kB / 1.273 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/1.251, allocations: 26.48 kB / 1.273 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/1.251, allocations: 91.33 kB / 1.273 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/1.251, allocations: 9.969 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/1.252, allocations: 12.97 kB / 1.273 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/1.252, allocations: 327.6 kB / 1.274 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/1.252, allocations: 31.12 kB / 1.274 GB, free: 4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/1.252, allocations: 31.3 kB / 1.274 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.252, allocations: 75.89 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.252, allocations: 0 / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/1.252, allocations: 98.06 kB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.252, allocations: 4.844 kB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.252, allocations: 0.9375 kB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.252, allocations: 0 / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/1.253, allocations: 20.08 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.253, allocations: 1.094 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/1.253, allocations: 12.66 kB / 1.274 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.253, allocations: 1.688 kB / 1.274 GB, free: 3.926 MB / 0.9981 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 6.17e-05/1.253, allocations: 120.1 kB / 1.274 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/1.253, allocations: 6.672 kB / 1.274 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/1.253, allocations: 112.7 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.253, allocations: 0.9062 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.253, allocations: 0.9062 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.253, allocations: 0.7969 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.253, allocations: 174.2 kB / 1.274 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.253, allocations: 0 / 1.274 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/1.253, allocations: 15.92 kB / 1.274 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.253, allocations: 1.062 kB / 1.274 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/1.253, allocations: 4 kB / 1.274 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.253, allocations: 0.8125 kB / 1.274 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.253, allocations: 1.094 kB / 1.274 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/1.254, allocations: 202.3 kB / 1.274 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/1.254, allocations: 87.59 kB / 1.275 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/1.254, allocations: 5.688 kB / 1.275 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.254, allocations: 10.61 kB / 1.275 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/1.254, allocations: 8.141 kB / 1.275 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/1.254, allocations: 0.75 kB / 1.275 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.821e-05/1.254, allocations: 101.4 kB / 1.275 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.254, allocations: 0 / 1.275 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003232/1.254, allocations: 32.12 kB / 1.275 GB, free: 3.176 MB / 0.9981 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.0006388/1.255, allocations: 0.7592 MB / 1.275 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003441/1.255, allocations: 74.88 kB / 1.275 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.255, allocations: 0 / 1.275 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.255, allocations: 34.67 kB / 1.276 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/1.256, allocations: 11.06 kB / 1.276 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.258, allocations: 1.429 MB / 1.277 GB, free: 17.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/1.258, allocations: 0.6823 MB / 1.278 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.591e-05/1.258, allocations: 6.219 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/1.258, allocations: 16.25 kB / 1.278 GB, free: 16.52 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/1.258, allocations: 0.9062 kB / 1.278 GB, free: 16.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/1.286, allocations: 2.472 MB / 1.28 GB, free: 16.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/9.44, allocations: 5.938 kB / 1.28 GB, free: 16.05 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.71217779815197]