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.001069/0.001069, allocations: 102.2 kB / 16.36 MB, free: 6.469 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.001032/0.001032, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 69.27 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, 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.002619/0.3042, allocations: 1.262 MB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.3048, allocations: 297.5 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.3049, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3049, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.305, allocations: 3.938 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3053, allocations: 59.73 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.3054, allocations: 15.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.3054, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.3055, allocations: 8 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.3056, allocations: 19.86 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3056, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3057, allocations: 55.94 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.3058, allocations: 4 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.3058, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3059, allocations: 55.83 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.306, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.306, allocations: 0 / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.306, 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.000463/0.3064, allocations: 337.1 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3065, allocations: 8.031 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.3067, allocations: 24.89 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3069, allocations: 164.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3069, allocations: 384 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3069, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.307, allocations: 42.25 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3071, allocations: 192 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3071, allocations: 3.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3071, allocations: 4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.3071, allocations: 23.92 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3073, allocations: 157.6 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3092, allocations: 270.5 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.3093, allocations: 20.8 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.3093, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3093, allocations: 38.55 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3093, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.3095, allocations: 69.47 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3096, allocations: 55.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.3096, allocations: 93.86 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3097, allocations: 25.7 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.3097, allocations: 80.14 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.3097, allocations: 11.91 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3098, allocations: 17.7 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3099, allocations: 314.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.3099, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.3099, allocations: 12.12 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.56e-05/0.31, allocations: 32.78 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.31, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.535e-05/0.3101, allocations: 49.7 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3101, allocations: 7.984 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3101, allocations: 4.266 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3101, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.3102, allocations: 8 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3102, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.3103, allocations: 3.906 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3103, allocations: 4 kB / 1.03 GB, free: 14.2 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 7.571e-05/0.3103, allocations: 117.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3104, allocations: 3.984 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.3104, allocations: 11.44 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3104, allocations: 3.984 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3104, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3104, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3106, allocations: 153.7 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3106, allocations: 3.938 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.3106, allocations: 11.94 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3106, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3106, allocations: 3.938 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3106, allocations: 4 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3106, allocations: 0 / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.3108, allocations: 77.12 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.3108, allocations: 85.03 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3109, allocations: 7.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.3109, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3109, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3109, allocations: 3.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.311, allocations: 83.28 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.311, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001814/0.3112, allocations: 4 kB / 1.031 GB, free: 13.52 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.0001163/0.3113, allocations: 103.2 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3114, allocations: 24.08 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3114, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.3114, allocations: 11.98 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3117, allocations: 15.98 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.3121, allocations: 126.6 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3124, allocations: 0.6768 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.3124, allocations: 7.859 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3125, allocations: 11.44 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3125, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.002383/0.3149, allocations: 0.5091 MB / 1.032 GB, free: 11.98 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 gbode -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