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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00957/0.00957, allocations: 100.6 kB / 15.73 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.001643/0.001643, allocations: 190 kB / 16.67 MB, free: 5.934 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.84 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.08, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002239/1.082, allocations: 1.253 MB / 1.089 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005577/1.083, allocations: 290.2 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/1.083, allocations: 4.688 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/1.083, allocations: 0.6562 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/1.083, allocations: 5.312 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/1.083, allocations: 52.53 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/1.083, allocations: 18.53 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/1.083, allocations: 6.297 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/1.083, allocations: 8.984 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/1.083, allocations: 12.69 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/1.083, allocations: 1.062 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/1.084, allocations: 49.69 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/1.084, allocations: 9.109 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/1.084, allocations: 9.484 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.084, allocations: 44.61 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.084, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/1.084, allocations: 0.7812 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.084, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 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.0003295/1.084, allocations: 340.4 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.084, allocations: 10.53 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/1.084, allocations: 21.72 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/1.085, allocations: 173.4 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/1.085, allocations: 1.406 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/1.085, allocations: 2.688 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.085, allocations: 44.47 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.085, allocations: 4.984 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/1.085, allocations: 9.328 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.085, allocations: 0.875 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/1.085, allocations: 14.72 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/1.085, allocations: 157.8 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/1.087, allocations: 268.9 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/1.087, allocations: 19.89 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/1.087, allocations: 0.6562 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/1.087, allocations: 35.62 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.087, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001793/1.087, allocations: 65.72 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/1.087, allocations: 56.72 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.356e-05/1.087, allocations: 96.78 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/1.087, allocations: 26.98 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/1.087, allocations: 80.14 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/1.087, allocations: 13.88 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/1.087, allocations: 18.7 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.516e-05/1.087, allocations: 311.9 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/1.087, allocations: 10.09 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/1.087, allocations: 18.5 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/1.087, allocations: 24.67 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.087, allocations: 0 / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.929e-05/1.088, allocations: 56.08 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.088, allocations: 5.906 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/1.088, allocations: 3.938 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.088, allocations: 1 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/1.088, allocations: 6.359 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.088, allocations: 5.078 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/1.088, allocations: 5.75 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/1.088, allocations: 0 / 1.091 GB, free: 2.676 MB / 0.8575 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.485e-05/1.088, allocations: 114.7 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/1.088, allocations: 6.734 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/1.088, allocations: 12.09 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.088, allocations: 5 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.088, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.088, allocations: 1.812 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.984e-05/1.088, allocations: 154.2 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/1.088, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/1.088, allocations: 10.55 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.088, allocations: 0.6094 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.088, allocations: 4.656 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.088, allocations: 0.8438 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.088, allocations: 4.641 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/1.088, allocations: 78 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/1.088, allocations: 84.27 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/1.088, allocations: 9.359 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/1.088, allocations: 6.062 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/1.088, allocations: 1.703 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.088, allocations: 2.375 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.963e-05/1.088, allocations: 76.22 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001911/1.089, allocations: 6.656 kB / 1.092 GB, free: 2.074 MB / 0.8575 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.0001074/1.089, allocations: 102.3 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.089, allocations: 29.11 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.089, allocations: 0.8125 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/1.089, allocations: 13.69 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/1.089, allocations: 11.89 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/1.089, allocations: 126.5 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/1.09, allocations: 0.6797 MB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.345e-05/1.09, allocations: 2.234 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/1.09, allocations: 13.53 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.09, allocations: 0 / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of Templates: time 0.002884/1.093, allocations: 0.5099 MB / 1.093 GB, free: 1.07 MB / 0.8575 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