Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001009/0.001009, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001436/0.001436, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.887, allocations: 142.4 MB / 0.9544 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001304/0.8884, allocations: 0.977 MB / 0.9554 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.8889, allocations: 276.5 kB / 0.9557 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.889, allocations: 0 / 0.9557 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.889, allocations: 3.938 kB / 0.9557 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.889, allocations: 1.25 kB / 0.9557 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.8893, allocations: 41.75 kB / 0.9557 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.8894, allocations: 24.39 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.8894, allocations: 1.562 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.8895, allocations: 4.156 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.8895, allocations: 6.656 kB / 0.9557 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.8895, allocations: 0.9375 kB / 0.9557 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.8897, allocations: 55.69 kB / 0.9558 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.8897, allocations: 12.98 kB / 0.9558 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.8897, allocations: 27.58 kB / 0.9558 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.8898, allocations: 34.02 kB / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8898, allocations: 4 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8898, allocations: 4.75 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.8898, allocations: 0 / 0.9559 GB, free: 6.855 MB / 0.7169 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.0003273/0.8902, allocations: 336.8 kB / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8902, allocations: 9.656 kB / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.8905, allocations: 19.05 kB / 0.9562 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.8905, allocations: 160.1 kB / 0.9564 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8906, allocations: 0 / 0.9564 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.8906, allocations: 6.156 kB / 0.9564 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.8907, allocations: 43.89 kB / 0.9564 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8907, allocations: 5.125 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8907, allocations: 0 / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8908, allocations: 5.234 kB / 0.9564 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.8908, allocations: 12.97 kB / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.891, allocations: 161.8 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.8926, allocations: 268.6 kB / 0.9569 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.8926, allocations: 25.12 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.8926, allocations: 0.9688 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.8927, allocations: 35.62 kB / 0.9569 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.8927, allocations: 3.938 kB / 0.9569 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001645/0.8928, allocations: 60.62 kB / 0.957 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.8929, allocations: 56.55 kB / 0.957 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.8929, allocations: 90.98 kB / 0.9571 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8929, allocations: 26.77 kB / 0.9571 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.4e-05/0.893, allocations: 80.14 kB / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.893, allocations: 25.02 kB / 0.9572 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.893, allocations: 5.25 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.8931, allocations: 310.8 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.8931, allocations: 8.812 kB / 0.9575 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.8931, allocations: 5.594 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.8931, allocations: 13.08 kB / 0.9576 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8931, allocations: 3.938 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.746e-05/0.8932, allocations: 48.42 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8932, allocations: 4.719 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8933, allocations: 5.281 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8933, allocations: 3.984 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.8933, allocations: 5.812 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8933, allocations: 0 / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.8934, allocations: 5.266 kB / 0.9576 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.8934, allocations: 5.281 kB / 0.9576 GB, free: 5.125 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.8934, allocations: 107.3 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.8935, allocations: 1.125 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.8935, allocations: 7.5 kB / 0.9578 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8935, allocations: 9.094 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8935, allocations: 0 / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8935, allocations: 5.141 kB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/0.8936, allocations: 162.1 kB / 0.9579 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8936, allocations: 4 kB / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.8937, allocations: 13.33 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.8937, allocations: 1.219 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8937, allocations: 0 / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8937, allocations: 1 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8937, allocations: 0 / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.602e-05/0.8938, allocations: 85.62 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.8938, allocations: 79.23 kB / 0.9581 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.8939, allocations: 5.141 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.8939, allocations: 1.156 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.8939, allocations: 5.031 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.8939, allocations: 1.156 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.894, allocations: 84.44 kB / 0.9582 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.894, allocations: 4.094 kB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001766/0.8942, allocations: 5.719 kB / 0.9582 GB, free: 4.5 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.439e-05/0.8943, allocations: 104 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.8944, allocations: 26.67 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8944, allocations: 0 / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.8944, allocations: 8.438 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.8946, allocations: 17.38 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.8949, allocations: 140.9 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.8951, allocations: 0.6814 MB / 0.9592 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.797e-05/0.8951, allocations: 5.375 kB / 0.9592 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.8952, allocations: 8.938 kB / 0.9592 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8952, allocations: 0 / 0.9592 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.002559/0.8977, allocations: 476.5 kB / 0.9596 GB, free: 3.281 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches