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.009264/0.009271, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.002224/0.002224, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.475/1.475, 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.613/2.613, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9152, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002728/0.918, allocations: 1.274 MB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.9195, allocations: 0.8613 MB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.9196, allocations: 0 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.9196, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.9197, allocations: 7.922 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.9204, allocations: 198.3 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.9205, allocations: 15.94 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.9205, allocations: 4 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.9206, allocations: 11.94 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.9207, allocations: 7.984 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.9207, allocations: 0 / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.9211, allocations: 239.7 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.9212, allocations: 3.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.9212, allocations: 7.938 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.9215, allocations: 147.8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.9215, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9215, allocations: 3.938 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.9215, allocations: 0 / 1.21 GB, free: 10.82 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.0004487/0.922, allocations: 353.5 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.922, allocations: 12.03 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.9222, allocations: 12.86 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.9223, allocations: 164.3 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.9223, allocations: 4.359 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.9224, allocations: 12.12 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.9225, allocations: 37.69 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9225, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.9225, allocations: 8 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9225, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.9226, allocations: 19.92 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.9228, allocations: 153.7 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.9237, allocations: 138.5 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.9237, allocations: 28.8 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.9238, allocations: 85.09 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.9239, allocations: 34.56 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9239, allocations: 0 / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.9241, allocations: 61.62 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.9241, allocations: 51.41 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.9242, allocations: 97.86 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.9242, allocations: 25.7 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.9243, allocations: 80.14 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.9243, allocations: 19.73 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.9244, allocations: 17.72 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9245, allocations: 314.8 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.9245, allocations: 11.98 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.9245, allocations: 4 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.9246, allocations: 36.92 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9246, allocations: 0 / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.9247, allocations: 57.62 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9247, allocations: 8 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9248, allocations: 0 / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9248, allocations: 3.984 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.9248, allocations: 4 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.9249, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.9249, allocations: 4 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.9249, allocations: 4 kB / 1.212 GB, free: 8.754 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 9.006e-05/0.925, allocations: 109.8 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.925, allocations: 7.938 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.9253, allocations: 89.02 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9253, allocations: 0 / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9253, allocations: 4 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9253, allocations: 4 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.9254, allocations: 161.5 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9254, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.9255, allocations: 8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9255, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.9255, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9255, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9255, allocations: 0 / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.9257, allocations: 97.12 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.9257, allocations: 93.03 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.9257, allocations: 0 / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.9258, allocations: 4 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.9258, allocations: 0 / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.9258, allocations: 336 / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.9259, allocations: 83.27 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9259, allocations: 0 / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002547/0.9261, allocations: 48 kB / 1.213 GB, free: 7.953 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.0003562/0.9265, allocations: 170.1 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.9266, allocations: 31.92 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9266, allocations: 0 / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.9267, allocations: 16 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.9269, allocations: 11.92 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.9272, allocations: 122.6 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.9275, allocations: 0.6768 MB / 1.214 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.9276, allocations: 15.94 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.9276, allocations: 7.438 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.9276, allocations: 4 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of Templates: time 0.003662/0.9313, allocations: 1.072 MB / 1.215 GB, free: 5.781 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