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.001481/0.001481, allocations: 113.3 kB / 16.42 MB, free: 6.02 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.001605/0.001605, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9786, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002953/0.9816, allocations: 1.263 MB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.9823, allocations: 295 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.9823, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.9824, allocations: 0 / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.9825, allocations: 7.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.9828, allocations: 51.73 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.9829, allocations: 15.94 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.983, allocations: 15.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.9831, allocations: 11.94 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.9831, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.9831, allocations: 7.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.9833, allocations: 55.94 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.9833, allocations: 3.984 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.9834, allocations: 7.938 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.9835, allocations: 51.56 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.9835, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9836, allocations: 0 / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9836, allocations: 0 / 1.21 GB, free: 11.87 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.0004127/0.984, allocations: 337.5 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.984, allocations: 8.031 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.9843, allocations: 20.91 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.9844, allocations: 160.4 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.9844, allocations: 4.375 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.9845, allocations: 384 / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.9846, allocations: 46.19 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9846, allocations: 4.188 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9846, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.9846, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.702e-05/0.9847, allocations: 19.98 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.9849, allocations: 165.6 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.9868, allocations: 262.5 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.9869, allocations: 24.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.9869, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.9869, allocations: 34.56 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.9869, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001958/0.9871, allocations: 73.61 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.9872, allocations: 51.41 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.9873, allocations: 89.86 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.9873, allocations: 25.7 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.9873, allocations: 80.14 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.9874, allocations: 19.75 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.9874, allocations: 13.72 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9876, allocations: 319 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.9876, allocations: 11.94 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.9876, allocations: 8.188 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.9877, allocations: 36.86 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.9877, allocations: 4 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.596e-05/0.9878, allocations: 49.7 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.9878, allocations: 6.344 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9878, allocations: 0 / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9878, allocations: 11.92 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.9879, allocations: 4 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9879, allocations: 7.938 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.9879, allocations: 3.938 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.988, allocations: 0 / 1.212 GB, free: 9.781 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.45e-05/0.988, allocations: 113.8 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.9881, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.9881, allocations: 11.44 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9881, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9881, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.9882, allocations: 81.09 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.9882, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.9883, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.9883, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001379/0.9884, allocations: 133 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001606/0.9886, allocations: 226.7 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.089e-05/0.9887, allocations: 12 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.9887, allocations: 79.28 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of Backend: time 3.51e-07/0.9887, allocations: 0 / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.9892, allocations: 118.3 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004791/0.9896, allocations: 0.562 MB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.003359/0.993, allocations: 0.7501 MB / 1.214 GB, free: 7.586 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/jenkins1/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