Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.006298/0.006298, allocations: 101.2 kB / 15.73 MB, free: 6.016 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.001289/0.001289, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.418/2.418, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 72.12 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001875/1.016, allocations: 0.7599 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009288/1.017, allocations: 0.871 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/1.017, allocations: 1.094 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/1.017, allocations: 5.391 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/1.017, allocations: 24.33 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/1.017, allocations: 38.5 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/1.017, allocations: 97.81 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.017, allocations: 14.44 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.118e-05/1.018, allocations: 48.92 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/1.018, allocations: 46.58 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/1.018, allocations: 7.625 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/1.018, allocations: 7.625 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/1.018, allocations: 23.44 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/1.018, allocations: 45.55 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/1.018, allocations: 87.14 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.018, allocations: 0 / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/1.018, allocations: 0.7812 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.018, allocations: 0 / 1.09 GB, free: 4.172 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006597/1.019, allocations: 417.6 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.019, allocations: 8.469 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/1.019, allocations: 14.55 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/1.019, allocations: 181.2 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.019, allocations: 7.625 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/1.019, allocations: 3.688 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/1.019, allocations: 123.1 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.019, allocations: 1.734 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.019, allocations: 4.969 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.019, allocations: 1.5 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/1.02, allocations: 101.7 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/1.02, allocations: 442 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/1.021, allocations: 115.3 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/1.021, allocations: 59.53 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.021, allocations: 4.906 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.021, allocations: 36.98 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/1.021, allocations: 0 / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006695/1.022, allocations: 177.8 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/1.022, allocations: 78.98 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.022, allocations: 141.4 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/1.022, allocations: 26.39 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/1.022, allocations: 98.02 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/1.022, allocations: 27.86 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/1.022, allocations: 23.41 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.494e-05/1.022, allocations: 323.4 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/1.022, allocations: 44.16 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/1.022, allocations: 57.44 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/1.023, allocations: 117.9 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.023, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004114/1.023, allocations: 139.8 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.023, allocations: 9.906 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.023, allocations: 0.5625 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.023, allocations: 1.094 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/1.023, allocations: 30.75 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.023, allocations: 1 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/1.024, allocations: 19.91 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.024, allocations: 12.09 kB / 1.093 GB, free: 1.984 MB / 0.8575 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 6.169e-05/1.024, allocations: 117.4 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/1.024, allocations: 9.438 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/1.024, allocations: 178.2 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.024, allocations: 5.5 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.024, allocations: 0.6562 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.024, allocations: 6.109 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/1.024, allocations: 219.6 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.024, allocations: 0 / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/1.025, allocations: 28.12 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.025, allocations: 0.9375 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.025, allocations: 1.75 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.025, allocations: 1.125 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.025, allocations: 5.547 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/1.025, allocations: 325.9 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/1.025, allocations: 98.09 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.025, allocations: 6.062 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/1.025, allocations: 20.84 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/1.026, allocations: 11.95 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.026, allocations: 3.906 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.226e-05/1.026, allocations: 114.2 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.026, allocations: 0 / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002951/1.026, allocations: 19.91 kB / 1.094 GB, free: 1.094 MB / 0.8575 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 9.392e-05/1.026, allocations: 110.3 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004337/1.026, allocations: 113.1 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.026, allocations: 0.6562 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/1.027, allocations: 65.98 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/1.027, allocations: 32.48 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/1.028, allocations: 225.6 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/1.028, allocations: 0.6972 MB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.011e-05/1.028, allocations: 13.28 kB / 1.095 GB, free: 76 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/1.028, allocations: 28.3 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.028, allocations: 0.875 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of Templates: time 0.00548/1.033, allocations: 1.796 MB / 1.097 GB, free: 15.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches