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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 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.001444/0.001444, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.91 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2369, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.0023/0.2392, allocations: 1.491 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2403, allocations: 0.8181 MB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.2403, allocations: 4 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.2404, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.2404, allocations: 7.922 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.2408, allocations: 131.4 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.2409, allocations: 47.86 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.241, allocations: 19.98 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.241, allocations: 19.92 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.2411, allocations: 27.86 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2411, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.2414, allocations: 171.7 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2414, allocations: 7.984 kB / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.2415, allocations: 27.86 kB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.2417, allocations: 147.9 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2417, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2417, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2417, allocations: 3.938 kB / 1.056 GB, free: 5.375 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.0004665/0.2422, allocations: 399.3 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2422, allocations: 8.625 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.2423, allocations: 30.75 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.2423, allocations: 8.844 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.2424, allocations: 176.2 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2424, allocations: 4.375 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2424, allocations: 4.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2427, allocations: 78.2 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2427, allocations: 3.938 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2427, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2427, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.243, allocations: 67.92 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.2433, allocations: 288.7 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.2435, allocations: 58.53 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.2437, allocations: 32.92 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.2439, allocations: 93.09 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2439, allocations: 34.56 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2439, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005101/0.2444, allocations: 141.4 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.2444, allocations: 51.41 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.2445, allocations: 121.7 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2445, allocations: 25.7 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2446, allocations: 92.12 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2446, allocations: 11.81 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.2446, allocations: 17.66 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.2447, allocations: 322.8 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2449, allocations: 31.97 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.245, allocations: 31.97 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.2453, allocations: 68.78 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2453, allocations: 4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003123/0.2456, allocations: 97.84 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2457, allocations: 7.984 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2457, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2457, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2458, allocations: 16.03 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2458, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.2459, allocations: 19.97 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.2459, allocations: 0 / 1.058 GB, free: 2.82 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 6.844e-05/0.246, allocations: 117.8 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.246, allocations: 3.906 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.2464, allocations: 117.4 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2464, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2464, allocations: 4 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2464, allocations: 4 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2466, allocations: 169.6 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2466, allocations: 3.984 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.2467, allocations: 15.98 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2467, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2467, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2467, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2467, allocations: 4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.247, allocations: 203.2 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2471, allocations: 85.05 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2471, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2472, allocations: 15.98 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2473, allocations: 3.984 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2473, allocations: 4 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.2473, allocations: 95.22 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2473, allocations: 0 / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002585/0.2476, allocations: 31.98 kB / 1.059 GB, free: 1.855 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.0006488/0.2482, allocations: 0.763 MB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.2486, allocations: 71.86 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2486, allocations: 4 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2488, allocations: 35.97 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.249, allocations: 11.98 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2506, allocations: 1.43 MB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2508, allocations: 0.6807 MB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.2509, allocations: 7.984 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.2509, allocations: 15.44 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2509, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.289, allocations: 2.423 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.48, allocations: 10.66 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > 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