Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008847/0.008847, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.00215/0.00215, allocations: 197.5 kB / 16.68 MB, free: 5.961 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.89 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00358/1.031, allocations: 1.256 MB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008251/1.032, allocations: 299 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/1.032, allocations: 0 / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/1.032, allocations: 3.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/1.032, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/1.033, allocations: 51.73 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/1.033, allocations: 19.88 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/1.033, allocations: 15.98 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/1.033, allocations: 7.938 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/1.033, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/1.033, allocations: 4 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/1.033, allocations: 51.95 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/1.033, allocations: 3.984 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/1.033, allocations: 11.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/1.033, allocations: 47.62 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.033, allocations: 3.938 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.806e-06/1.033, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.033, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 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.0005799/1.034, allocations: 333.5 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.034, allocations: 12.03 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/1.034, allocations: 20.91 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/1.034, allocations: 164.4 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.034, allocations: 384 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/1.034, allocations: 384 / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.035, allocations: 42.25 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.035, allocations: 4.188 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.035, allocations: 7.875 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.035, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/1.035, allocations: 19.98 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/1.035, allocations: 161.6 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.037, allocations: 262.4 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/1.037, allocations: 24.86 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/1.037, allocations: 0 / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/1.037, allocations: 30.56 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.836e-06/1.037, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001765/1.037, allocations: 73.69 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.037, allocations: 55.41 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/1.037, allocations: 93.84 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/1.037, allocations: 29.7 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/1.037, allocations: 84.12 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/1.037, allocations: 15.69 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/1.037, allocations: 17.72 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.037, allocations: 310.8 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/1.037, allocations: 16.11 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/1.037, allocations: 12 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/1.038, allocations: 24.8 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.038, allocations: 3.938 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.798e-05/1.038, allocations: 57.69 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.038, allocations: 8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.038, allocations: 3.938 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.038, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/1.038, allocations: 7.984 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.038, allocations: 0 / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/1.038, allocations: 4 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/1.038, allocations: 4 kB / 1.211 GB, free: 9.719 MB / 0.9356 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 8.096e-05/1.038, allocations: 109.8 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/1.038, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/1.038, allocations: 19.38 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.038, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.038, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.038, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/1.038, allocations: 153.7 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.038, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/1.038, allocations: 11.98 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/1.038, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/1.038, allocations: 3.938 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.038, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.038, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/1.038, allocations: 77.12 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/1.038, allocations: 85.02 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/1.038, allocations: 7.938 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/1.038, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/1.038, allocations: 7.984 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/1.038, allocations: 3.938 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.875e-05/1.038, allocations: 75.28 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.038, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001785/1.039, allocations: 8 kB / 1.212 GB, free: 9.062 MB / 0.9356 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.0001086/1.039, allocations: 99.25 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/1.039, allocations: 28.08 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.039, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/1.039, allocations: 19.88 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/1.039, allocations: 15.92 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/1.039, allocations: 122.9 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/1.04, allocations: 0.6768 MB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.976e-05/1.04, allocations: 4 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/1.04, allocations: 7.438 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.04, allocations: 0 / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.002522/1.042, allocations: 0.5357 MB / 1.213 GB, free: 7.5 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches