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.001013/0.001014, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 187.8 kB / 16.94 MB, free: 6.891 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: 223.3 MB / 241 MB, free: 5.34 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.555/2.555, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7524, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001678/0.7542, allocations: 0.9905 MB / 0.9567 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.7548, allocations: 288.7 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.7549, allocations: 1.344 kB / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.7549, allocations: 0 / 0.957 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.755, allocations: 9 kB / 0.957 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.7553, allocations: 41.73 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.7553, allocations: 16.61 kB / 0.957 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.7554, allocations: 5.391 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.7555, allocations: 8.969 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.7555, allocations: 6.25 kB / 0.957 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.7555, allocations: 1.188 kB / 0.957 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.7557, allocations: 52.36 kB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.7557, allocations: 8.797 kB / 0.9571 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.7558, allocations: 33.42 kB / 0.9571 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.7559, allocations: 38.25 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.7559, allocations: 0 / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7559, allocations: 0 / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7559, allocations: 0 / 0.9572 GB, free: 6.594 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.0004142/0.7564, allocations: 334 kB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.7564, allocations: 8.469 kB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.7567, allocations: 27.78 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.7568, allocations: 165.8 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.7568, allocations: 1.375 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.7568, allocations: 5.344 kB / 0.9577 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.7569, allocations: 46.02 kB / 0.9577 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7569, allocations: 4.125 kB / 0.9577 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.757, allocations: 3.938 kB / 0.9577 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.757, allocations: 1.219 kB / 0.9577 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.757, allocations: 16.73 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.7572, allocations: 166 kB / 0.9579 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.7591, allocations: 269.4 kB / 0.9582 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.7592, allocations: 24.8 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.7592, allocations: 5.484 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.7592, allocations: 32.03 kB / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7592, allocations: 0 / 0.9582 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.7594, allocations: 64.31 kB / 0.9583 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.7594, allocations: 57.31 kB / 0.9583 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/0.7595, allocations: 91.64 kB / 0.9584 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.7595, allocations: 29.83 kB / 0.9585 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.7595, allocations: 80.14 kB / 0.9585 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.7596, allocations: 13.56 kB / 0.9586 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.7596, allocations: 19.52 kB / 0.9586 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.7597, allocations: 310.8 kB / 0.9589 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.7597, allocations: 9.406 kB / 0.9589 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.7597, allocations: 3.594 kB / 0.9589 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.7597, allocations: 33.38 kB / 0.9589 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7598, allocations: 0 / 0.9589 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.817e-05/0.7598, allocations: 55.98 kB / 0.959 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7599, allocations: 11.83 kB / 0.959 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7599, allocations: 3.938 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7599, allocations: 0 / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.7599, allocations: 5.656 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7599, allocations: 0 / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.76, allocations: 1.312 kB / 0.959 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.76, allocations: 0 / 0.959 GB, free: 4.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.76, allocations: 108.5 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.7601, allocations: 5.25 kB / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.7601, allocations: 11.77 kB / 0.9591 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7601, allocations: 1.219 kB / 0.9591 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.7601, allocations: 3.984 kB / 0.9591 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7601, allocations: 5.297 kB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.703e-05/0.7602, allocations: 161.3 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7602, allocations: 1.25 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.7603, allocations: 6.125 kB / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7603, allocations: 0 / 0.9593 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.7603, allocations: 7.938 kB / 0.9593 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7603, allocations: 7.938 kB / 0.9593 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7603, allocations: 4.906 kB / 0.9593 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.7604, allocations: 73.69 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.7604, allocations: 78.33 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.7605, allocations: 9.078 kB / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.7605, allocations: 5.312 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.7605, allocations: 1.125 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7606, allocations: 1.188 kB / 0.9595 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.713e-05/0.7606, allocations: 80.59 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7606, allocations: 0 / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001845/0.7608, allocations: 5.844 kB / 0.9595 GB, free: 4.199 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.901e-05/0.7609, allocations: 97.12 kB / 0.9596 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.761, allocations: 29.8 kB / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.761, allocations: 0 / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.761, allocations: 17.2 kB / 0.9597 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.7612, allocations: 9.5 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.7615, allocations: 164.8 kB / 0.9598 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.879e-05/0.7616, allocations: 0.6807 MB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.7617, allocations: 10.03 kB / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of SimCode: time 1.193e-06/0.7617, allocations: 0 / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.001657/0.7633, allocations: 0.5284 MB / 0.961 GB, free: 2.934 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/jenkins1/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