Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01027/0.01027, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002231/0.00223, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 58 kB / 0.9508 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3451, allocations: 140.4 MB / 1.088 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.00207/0.3472, allocations: 0.6725 MB / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3494, allocations: 1.375 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3495, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.3496, allocations: 3.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.3497, allocations: 11.86 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.3502, allocations: 107.5 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.3503, allocations: 43.86 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3504, allocations: 15.98 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.3505, allocations: 15.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.3506, allocations: 19.92 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3506, allocations: 4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.3509, allocations: 147.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.351, allocations: 15.92 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.351, allocations: 19.94 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3513, allocations: 131.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3513, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3513, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3514, allocations: 0 / 1.09 GB, free: 15.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000655/0.352, allocations: 379.1 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3521, allocations: 8.031 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.3525, allocations: 36.84 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3527, allocations: 168.4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3527, allocations: 384 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3527, allocations: 4.375 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.353, allocations: 82.19 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.353, allocations: 4.188 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.353, allocations: 3.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.353, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3534, allocations: 79.86 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3539, allocations: 320.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3543, allocations: 74.53 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3544, allocations: 36.84 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3545, allocations: 15.92 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3545, allocations: 34.55 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3545, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005597/0.3551, allocations: 121.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3551, allocations: 55.41 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3552, allocations: 121.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3553, allocations: 25.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.3553, allocations: 92.09 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3554, allocations: 15.97 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3554, allocations: 21.64 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3556, allocations: 322.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3557, allocations: 31.97 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3559, allocations: 31.97 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.3561, allocations: 64.8 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3562, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000332/0.3565, allocations: 105.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3565, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3565, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3565, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3567, allocations: 19.92 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3567, allocations: 4 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3569, allocations: 19.88 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3569, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 8.92e-05/0.357, allocations: 121.8 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.357, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.3571, allocations: 7.906 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3571, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3571, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3571, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3573, allocations: 181.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3573, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3574, allocations: 16.16 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3574, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3574, allocations: 8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3575, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3575, allocations: 3.938 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3578, allocations: 203.3 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.3579, allocations: 81.11 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3579, allocations: 4.359 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3581, allocations: 4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3581, allocations: 7.984 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3581, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.3582, allocations: 99.2 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3582, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002516/0.3585, allocations: 23.94 kB / 1.093 GB, free: 11.7 MB / 0.8575 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.0002167/0.3587, allocations: 107.2 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.359, allocations: 75.88 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3591, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3592, allocations: 35.95 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3595, allocations: 13.5 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.3601, allocations: 159.1 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3604, allocations: 0.6807 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.2e-05/0.3605, allocations: 12.27 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.3606, allocations: 19.38 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3606, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of Templates: time 0.003944/0.3645, allocations: 1.03 MB / 1.095 GB, free: 9.531 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches