Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007597/0.007597, allocations: 101.8 kB / 15.73 MB, free: 6.039 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.001726/0.001726, allocations: 193.4 kB / 16.68 MB, free: 5.957 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9857/0.9871, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002415/0.9895, allocations: 1.271 MB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.991, allocations: 0.8536 MB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.991, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.991, allocations: 3.938 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.9911, allocations: 7.984 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.9918, allocations: 202.7 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.9919, allocations: 27.8 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.9919, allocations: 4 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.992, allocations: 7.984 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.992, allocations: 4 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.992, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.9924, allocations: 239.7 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.9924, allocations: 3.938 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.9925, allocations: 8 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.9927, allocations: 155.7 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9927, allocations: 4 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9927, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.9928, allocations: 0 / 1.21 GB, free: 10.85 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.0004641/0.9932, allocations: 349.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9933, allocations: 8.031 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.9935, allocations: 12.92 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.9936, allocations: 168.3 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.9936, allocations: 384 / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.9936, allocations: 12.12 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.9938, allocations: 41.62 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9938, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9938, allocations: 4 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9938, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.9939, allocations: 15.98 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.994, allocations: 161.7 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.9949, allocations: 138.5 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.995, allocations: 24.73 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.9951, allocations: 85.09 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.9951, allocations: 34.56 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9951, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000182/0.9953, allocations: 65.69 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.9954, allocations: 51.41 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.9954, allocations: 89.86 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.9955, allocations: 25.7 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.9955, allocations: 84.12 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.9955, allocations: 19.75 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.9956, allocations: 13.72 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9957, allocations: 319 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.9957, allocations: 11.92 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.9957, allocations: 8 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.9958, allocations: 28.86 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9958, allocations: 0 / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.275e-05/0.9959, allocations: 61.94 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9959, allocations: 7.984 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9959, allocations: 4 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.996, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.996, allocations: 4 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.996, allocations: 7.938 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.9961, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.9961, allocations: 4 kB / 1.212 GB, free: 8.785 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.213e-05/0.9961, allocations: 113.8 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.9962, allocations: 7.938 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.9964, allocations: 77.16 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9964, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9964, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9964, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.9966, allocations: 169.5 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9966, allocations: 0 / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.9966, allocations: 8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9966, allocations: 3.938 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9966, allocations: 3.938 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9966, allocations: 4 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.9967, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.9968, allocations: 89.12 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.9968, allocations: 89.03 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.9968, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.9969, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.9969, allocations: 8 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.9969, allocations: 3.984 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.997, allocations: 83.28 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.997, allocations: 0 / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002269/0.9972, allocations: 44 kB / 1.213 GB, free: 7.988 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 (5): * Single equations (assignments): 5 * 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.0003849/0.9976, allocations: 165.2 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.9977, allocations: 31.92 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9977, allocations: 4.094 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.9978, allocations: 12 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.9979, allocations: 19.8 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.9983, allocations: 130.5 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.9985, allocations: 0.6768 MB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.9986, allocations: 8 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.9986, allocations: 11.44 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.9986, allocations: 0 / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.003548/1.002, allocations: 1.075 MB / 1.215 GB, free: 5.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches