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.001534/0.001534, allocations: 109 kB / 16.41 MB, free: 6.027 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.001734/0.001734, allocations: 186.6 kB / 17.34 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.368/1.368, 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.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.88 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9226/0.924, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00261/0.9267, allocations: 1.274 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.9273, allocations: 291.1 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.9274, allocations: 3.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.9274, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.9275, allocations: 7.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.9278, allocations: 43.75 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.9279, allocations: 23.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.928, allocations: 11.98 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.928, allocations: 11.94 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.9281, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.9281, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.9283, allocations: 51.95 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.9283, allocations: 11.92 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.9283, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.9285, allocations: 51.55 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9285, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9285, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9285, allocations: 0 / 1.21 GB, free: 11.84 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.0004085/0.9289, allocations: 337.5 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.929, allocations: 12.03 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.9292, allocations: 16.91 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.9294, allocations: 164.4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.9294, allocations: 4.375 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.9294, allocations: 384 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.9295, allocations: 42.25 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.9296, allocations: 4.188 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.9296, allocations: 3.938 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9296, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.9297, allocations: 23.92 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.9298, allocations: 157.6 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.9317, allocations: 266.4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.9318, allocations: 20.86 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.9318, allocations: 3.938 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.9318, allocations: 34.56 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.9318, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.932, allocations: 65.56 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.9321, allocations: 55.41 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.9321, allocations: 97.84 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9322, allocations: 29.7 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.9322, allocations: 80.14 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.9322, allocations: 11.75 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.9323, allocations: 17.72 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9324, allocations: 310.8 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.9324, allocations: 16.11 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.9324, allocations: 8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.9325, allocations: 28.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9325, allocations: 0 / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.33e-05/0.9326, allocations: 53.97 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9326, allocations: 9.562 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9326, allocations: 3.984 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9327, allocations: 3.984 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.9327, allocations: 7.984 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9327, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.9328, allocations: 4 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.9328, allocations: 7.938 kB / 1.212 GB, free: 9.754 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 7.6e-05/0.9329, allocations: 105.8 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.9329, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.9329, allocations: 15.44 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9329, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.9329, allocations: 0 / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.933, allocations: 3.938 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.9331, allocations: 161.7 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9331, allocations: 8 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.9331, allocations: 11.98 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9332, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.9332, allocations: 3.938 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9332, allocations: 3.938 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9332, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.9333, allocations: 73.12 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.9334, allocations: 85.02 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.9334, allocations: 7.938 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.9335, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.9335, allocations: 7.984 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.9335, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.9335, allocations: 75.28 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9335, allocations: 3.938 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001878/0.9337, allocations: 8 kB / 1.213 GB, free: 9.086 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.00012/0.9339, allocations: 95.34 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.934, allocations: 31.98 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.934, allocations: 0 / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.934, allocations: 12 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.9343, allocations: 7.984 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.9346, allocations: 156.2 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.9349, allocations: 0.6768 MB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.9349, allocations: 7.438 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9349, allocations: 0 / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of Templates: time 0.001846/0.9368, allocations: 0.5426 MB / 1.214 GB, free: 7.492 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