Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 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.001415/0.001415, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7537, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.00244/0.7562, allocations: 0.7606 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.7574, allocations: 0.8818 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.7575, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.7575, allocations: 3.938 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.7576, allocations: 19.8 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.7578, allocations: 39.94 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.758, allocations: 99.7 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.7581, allocations: 31.84 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.7582, allocations: 39.91 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.7583, allocations: 47.83 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.7584, allocations: 8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.7584, allocations: 8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.7584, allocations: 19.91 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.7585, allocations: 43.78 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.7586, allocations: 85.7 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7586, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7586, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7586, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007593/0.7594, allocations: 411.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7595, allocations: 8.031 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.7595, allocations: 12.84 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7596, allocations: 180.1 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.7597, allocations: 4.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.7597, allocations: 12.36 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.76, allocations: 115.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.7601, allocations: 192 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.7601, allocations: 7.938 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7601, allocations: 8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.7605, allocations: 99.83 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/0.7613, allocations: 436.6 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.7617, allocations: 121.1 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.7619, allocations: 57.73 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.762, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.762, allocations: 30.56 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.762, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006766/0.7627, allocations: 177.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.7628, allocations: 81.11 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.7629, allocations: 147.2 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.763, allocations: 25.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.763, allocations: 96.05 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.7631, allocations: 23.78 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.7631, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7632, allocations: 322.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.7634, allocations: 43.95 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.7636, allocations: 65.66 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.764, allocations: 105.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.764, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004005/0.7644, allocations: 141.9 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7644, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7644, allocations: 3.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.7645, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.7646, allocations: 31.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7647, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.7648, allocations: 15.92 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7648, allocations: 4.047 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.52e-05/0.7649, allocations: 117.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.765, allocations: 11.89 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.7655, allocations: 193.6 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7655, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7655, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7656, allocations: 3.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.7658, allocations: 209.6 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7658, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.766, allocations: 31.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.766, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.766, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7661, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7661, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.7666, allocations: 338.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.7667, allocations: 96.84 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.7667, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.7669, allocations: 11.98 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.7669, allocations: 15.92 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.767, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.767, allocations: 116.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.767, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002754/0.7673, allocations: 20 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001239/0.7675, allocations: 95.25 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.7679, allocations: 123.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7679, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.7681, allocations: 67.89 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.7687, allocations: 23.92 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.7692, allocations: 221.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7696, allocations: 0.7002 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.7696, allocations: 16.86 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.7697, allocations: 19.42 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7697, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.00447/0.7742, allocations: 1.786 MB / 1.026 GB, free: 9.055 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches