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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001071/0.001071, allocations: 115.7 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.001136/0.001136, allocations: 191.8 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.327/1.327, 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 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.02 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002704/0.3396, allocations: 1.26 MB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006277/0.3402, allocations: 297.5 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3403, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.3403, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.3404, allocations: 11.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.3408, allocations: 51.75 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.3408, allocations: 15.94 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.3409, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.341, allocations: 7.984 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.341, allocations: 11.92 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.341, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3412, allocations: 51.95 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.3412, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3413, allocations: 11.92 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.3414, allocations: 51.89 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3414, allocations: 3.938 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3415, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3415, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 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.0004569/0.3419, allocations: 331.6 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.342, allocations: 12.03 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.3422, allocations: 20.86 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3424, allocations: 172.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3424, allocations: 12.31 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3424, allocations: 384 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3425, allocations: 46.23 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3426, allocations: 192 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3426, allocations: 3.938 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3426, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.3426, allocations: 15.98 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.3428, allocations: 153.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.3446, allocations: 274.4 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.3446, allocations: 16.86 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3447, allocations: 4 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3447, allocations: 38.56 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3447, allocations: 0 / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.3449, allocations: 69.47 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3449, allocations: 51.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.345, allocations: 97.84 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.345, allocations: 25.7 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.345, allocations: 84.14 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3451, allocations: 8.031 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3451, allocations: 17.72 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3452, allocations: 310.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.3452, allocations: 11.98 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.3453, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.3453, allocations: 28.86 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3453, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.298e-05/0.3454, allocations: 57.62 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3454, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3455, allocations: 7.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3455, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.3455, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3456, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.3456, allocations: 7.891 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3456, allocations: 4 kB / 1.03 GB, free: 14.19 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 (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.752e-05/0.3457, allocations: 109.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.3457, allocations: 3.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.3458, allocations: 15.38 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3458, allocations: 8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3458, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3458, allocations: 336 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.3459, allocations: 157.7 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3459, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.346, allocations: 8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.346, allocations: 3.984 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.346, allocations: 3.938 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.346, allocations: 3.984 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.346, allocations: 7.938 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3461, allocations: 77.12 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3462, allocations: 85.05 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3462, allocations: 7.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.3463, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.3463, allocations: 7.984 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3463, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.3464, allocations: 75.28 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3464, allocations: 4.094 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001869/0.3466, allocations: 8 kB / 1.031 GB, free: 13.51 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 (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.0001233/0.3467, allocations: 95.25 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.3468, allocations: 31.92 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3468, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.3469, allocations: 12 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3471, allocations: 7.984 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.3475, allocations: 130.6 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.3478, allocations: 0.6729 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.3478, allocations: 15.8 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3478, allocations: 7.438 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3479, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.002619/0.3505, allocations: 0.5133 MB / 1.032 GB, free: 11.97 MB / 0.8106 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 -s cvode -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