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.001648/0.001649, allocations: 108 kB / 16.41 MB, free: 6.027 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.002214/0.002215, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.19 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.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 64.09 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.8975, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001711/0.8992, allocations: 0.6745 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.9008, allocations: 1.369 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.9008, allocations: 0.9688 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.9009, allocations: 0 / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.901, allocations: 10 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.9014, allocations: 103.4 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.9015, allocations: 53.03 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.9016, allocations: 15.08 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.9017, allocations: 14.36 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.9018, allocations: 23.77 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.9018, allocations: 4.219 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.9021, allocations: 148.2 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.9021, allocations: 11.75 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.9022, allocations: 24.42 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.9024, allocations: 120.3 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9024, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9024, allocations: 4 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9024, allocations: 1.281 kB / 1.091 GB, free: 3.926 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.0004833/0.9029, allocations: 374.3 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.903, allocations: 12.62 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.9034, allocations: 40.97 kB / 1.092 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.9035, allocations: 173 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.9035, allocations: 1.562 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.9035, allocations: 3 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.9038, allocations: 91.56 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9038, allocations: 4.969 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.9038, allocations: 4.734 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9039, allocations: 1.125 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.9042, allocations: 76.34 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.9047, allocations: 315.9 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.905, allocations: 86.73 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.9052, allocations: 33.66 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.9052, allocations: 1.625 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.9053, allocations: 31.25 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.073e-06/0.9053, allocations: 4.875 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000562/0.9058, allocations: 121 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.9059, allocations: 56.03 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.9059, allocations: 115.2 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.906, allocations: 29.7 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.906, allocations: 92.33 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.906, allocations: 18.56 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.9061, allocations: 15.98 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.9061, allocations: 322.5 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.9063, allocations: 28.14 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.9064, allocations: 36.97 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.9067, allocations: 64.5 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9067, allocations: 0 / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003411/0.9071, allocations: 114 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9071, allocations: 4.094 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9071, allocations: 0.8125 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9071, allocations: 1.953 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.9073, allocations: 17.03 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9073, allocations: 1.156 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.9074, allocations: 16.27 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.9074, allocations: 6.453 kB / 1.093 GB, free: 2.047 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 5.928e-05/0.9075, allocations: 116.8 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.9076, allocations: 3.141 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.9076, allocations: 10.03 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9076, allocations: 1.406 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9076, allocations: 5.094 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9076, allocations: 0.5156 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.9078, allocations: 184.2 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9078, allocations: 0.6562 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.9079, allocations: 20.34 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9079, allocations: 1.891 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.9079, allocations: 0.7969 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9079, allocations: 5.125 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.908, allocations: 0.7969 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.9083, allocations: 202.7 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.9083, allocations: 78.94 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.9084, allocations: 1 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.9085, allocations: 9.094 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.9086, allocations: 3.516 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.9086, allocations: 1.625 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.9086, allocations: 90.52 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9086, allocations: 4 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002628/0.9089, allocations: 27.19 kB / 1.094 GB, free: 1.352 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.0001605/0.9091, allocations: 108.6 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.9094, allocations: 71.38 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9095, allocations: 4 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.9096, allocations: 33 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.91, allocations: 15.75 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.9105, allocations: 190.4 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.9106, allocations: 0.6812 MB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.9107, allocations: 14.7 kB / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9107, allocations: 0 / 1.095 GB, free: 380 kB / 0.8575 GB Notification: Performance of Templates: time 0.003136/0.9138, allocations: 1.14 MB / 1.096 GB, free: 296 kB / 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/jenkins1/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