Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_latest_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_latest_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.001392/0.001392, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001437/0.001438, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.27 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4047, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002546/0.4073, allocations: 0.6778 MB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.4094, allocations: 1.373 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4095, allocations: 4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.4095, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.4096, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.4101, allocations: 107.5 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.848e-05/0.4102, allocations: 55.8 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.4103, allocations: 11.98 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.4104, allocations: 12 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.4105, allocations: 31.78 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4105, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.4108, allocations: 147.8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.4109, allocations: 8 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.4109, allocations: 23.86 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.4112, allocations: 123.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4112, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4112, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.4112, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 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.0006789/0.4119, allocations: 387.3 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.412, allocations: 8.031 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.4124, allocations: 32.89 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.4126, allocations: 172.2 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4126, allocations: 4.375 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4127, allocations: 4.375 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.413, allocations: 86.17 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.413, allocations: 192 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.413, allocations: 3.938 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.413, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.4133, allocations: 71.92 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.4141, allocations: 324.4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.4144, allocations: 78.52 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.4145, allocations: 36.91 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4146, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.4147, allocations: 38.5 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4147, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005662/0.4153, allocations: 125.5 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4153, allocations: 51.41 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4155, allocations: 117.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.4155, allocations: 25.7 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.4156, allocations: 100.1 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.4156, allocations: 7.812 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.4157, allocations: 21.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4159, allocations: 322.8 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.416, allocations: 31.97 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4161, allocations: 27.97 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.4164, allocations: 72.73 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4164, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000311/0.4167, allocations: 101.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4168, allocations: 4 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4168, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4168, allocations: 7.984 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.417, allocations: 15.98 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.417, allocations: 3.938 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4171, allocations: 27.83 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4171, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 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 0.0002/0.4173, allocations: 117.7 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.4174, allocations: 4 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.4174, allocations: 7.891 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4174, allocations: 4 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4174, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4174, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.4177, allocations: 181.6 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4177, allocations: 4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.4179, allocations: 15.97 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4179, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4179, allocations: 4.375 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4179, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4179, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.4183, allocations: 199.3 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.4183, allocations: 81.05 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.4183, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4185, allocations: 11.98 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.4185, allocations: 11.92 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4185, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001261/0.4187, allocations: 91.27 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4187, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002528/0.4189, allocations: 20 kB / 1.032 GB, free: 12.12 MB / 0.8106 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.0001768/0.4191, allocations: 107.2 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.4195, allocations: 67.94 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4195, allocations: 4 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4196, allocations: 39.91 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.42, allocations: 12.94 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.4206, allocations: 169.6 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.421, allocations: 0.6807 MB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.4211, allocations: 16.53 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.4212, allocations: 15.42 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.4212, allocations: 7.938 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.003817/0.425, allocations: 1.032 MB / 1.034 GB, free: 9.953 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches