Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001239/0.001239, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.026/2.026, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 69.7 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2224, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00212/0.2245, allocations: 1.267 MB / 0.9524 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2257, allocations: 0.8284 MB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.2257, allocations: 4 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.2257, allocations: 0 / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.2258, allocations: 7.938 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2262, allocations: 131.4 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.2262, allocations: 23.92 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.2263, allocations: 4 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.2263, allocations: 11.94 kB / 0.9534 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.2264, allocations: 11.92 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2264, allocations: 4 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.2267, allocations: 167.7 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.2267, allocations: 8 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.2267, allocations: 15.91 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.227, allocations: 111.8 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.227, allocations: 0 / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.715e-06/0.227, allocations: 0 / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.227, allocations: 11.88 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003984/0.2274, allocations: 359.3 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2274, allocations: 12.03 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2275, allocations: 0.9375 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2276, allocations: 180.2 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.2276, allocations: 30.27 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2277, allocations: 4.375 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.2278, allocations: 42.25 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2278, allocations: 3.938 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2278, allocations: 0 / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2278, allocations: 0 / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.2279, allocations: 15.98 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2281, allocations: 161.7 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.2282, allocations: 46.55 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.2283, allocations: 20.94 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.2286, allocations: 178.2 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2286, allocations: 42.56 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2286, allocations: 0 / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.2288, allocations: 73.59 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2289, allocations: 51.41 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.2289, allocations: 97.8 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.229, allocations: 25.7 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.229, allocations: 84.12 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.229, allocations: 15.81 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.2291, allocations: 13.72 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2292, allocations: 318.8 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.2292, allocations: 7.984 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.2293, allocations: 8 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.2293, allocations: 32.78 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2294, allocations: 0 / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001199/0.2295, allocations: 61.67 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2295, allocations: 11.94 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2295, allocations: 3.938 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2295, allocations: 0 / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.2296, allocations: 4 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2296, allocations: 4 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.2296, allocations: 7.922 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.2296, allocations: 0 / 0.9555 GB, free: 3.285 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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.936e-05/0.2297, allocations: 111.8 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.2297, allocations: 7.938 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2299, allocations: 81.06 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2299, allocations: 0 / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2299, allocations: 3.938 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2299, allocations: 0 / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.23, allocations: 157.6 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.23, allocations: 4 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.2301, allocations: 7.984 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2301, allocations: 3.938 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.2301, allocations: 4 kB / 0.9559 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2301, allocations: 4 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2301, allocations: 0 / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.2302, allocations: 77.69 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.2303, allocations: 81.09 kB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2303, allocations: 3.938 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.634e-05/0.2304, allocations: 8 kB / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2304, allocations: 7.984 kB / 0.956 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2304, allocations: 4 kB / 0.956 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.2304, allocations: 79.31 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.493e-06/0.2304, allocations: 0 / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002146/0.2307, allocations: 43.86 kB / 0.9562 GB, free: 2.504 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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.0001823/0.2309, allocations: 139.2 kB / 0.9563 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.231, allocations: 27.97 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.231, allocations: 4 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.2311, allocations: 12 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.2312, allocations: 7.984 kB / 0.9563 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.2315, allocations: 127.1 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2317, allocations: 0.6844 MB / 0.9571 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.2318, allocations: 4 kB / 0.9571 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.2318, allocations: 11.44 kB / 0.9571 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2318, allocations: 0 / 0.9571 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of Templates: time 0.002928/0.2347, allocations: 1.049 MB / 0.9582 GB, free: 396 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches