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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001626/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001939/0.001939, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.7 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 58.75 kB / 0.9114 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3913, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00246/0.3938, allocations: 1.317 MB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.3945, allocations: 309.2 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.3946, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.3946, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.3947, allocations: 7.922 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.3949, allocations: 43.81 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.395, allocations: 11.94 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.3951, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3951, allocations: 4 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.3952, allocations: 19.92 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3952, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3953, allocations: 55.95 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.3953, allocations: 7.984 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.3954, allocations: 7.938 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3955, allocations: 52.17 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3955, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3955, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3956, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 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.000438/0.396, allocations: 327.6 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3961, allocations: 12.03 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.3963, allocations: 16.92 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.3964, allocations: 172.2 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3964, allocations: 4.359 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3964, allocations: 4.375 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3966, allocations: 38.25 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3966, allocations: 4.188 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3966, allocations: 7.875 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3966, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.3967, allocations: 12 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3969, allocations: 165.6 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.3988, allocations: 270.4 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3989, allocations: 28.84 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3989, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.399, allocations: 30.56 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.399, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.3991, allocations: 65.62 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3992, allocations: 59.34 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.3993, allocations: 93.86 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3993, allocations: 25.7 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.3993, allocations: 80.14 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3994, allocations: 19.8 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3994, allocations: 9.719 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3995, allocations: 314.8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.3996, allocations: 8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.3996, allocations: 15.92 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.3996, allocations: 28.98 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3996, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.358e-05/0.3997, allocations: 57.62 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3998, allocations: 5.562 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3998, allocations: 3.938 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3998, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.3999, allocations: 8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3999, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.3999, allocations: 336 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3999, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 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 8.853e-05/0.4, allocations: 123.6 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.4, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.4001, allocations: 15.42 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4001, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4001, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4001, allocations: 3.938 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.4002, allocations: 157.7 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4002, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.4003, allocations: 4 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4003, allocations: 4 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4003, allocations: 3.938 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4003, allocations: 4 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4003, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4004, allocations: 81.06 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.4005, allocations: 88.94 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.4005, allocations: 3.938 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.4006, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.4006, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4006, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.4006, allocations: 83.27 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4007, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001842/0.4008, allocations: 8 kB / 1.072 GB, free: 6.25 MB / 0.8262 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.0001177/0.401, allocations: 95.25 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.4011, allocations: 27.92 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4011, allocations: 4.094 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.4011, allocations: 12 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.4014, allocations: 15.98 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.4017, allocations: 124.3 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.402, allocations: 0.677 MB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.402, allocations: 8 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.4021, allocations: 7.438 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of SimCode: time 1.763e-06/0.4021, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of Templates: time 0.00252/0.4046, allocations: 0.5058 MB / 1.073 GB, free: 4.715 MB / 0.8262 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/jenkins/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