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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001448/0.001448, allocations: 106.8 kB / 16.36 MB, free: 5.824 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.001412/0.001412, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.16 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2914, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002197/0.2937, allocations: 0.6749 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2956, allocations: 1.364 MB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.2956, allocations: 4 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2957, allocations: 7.938 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.2958, allocations: 7.922 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.2963, allocations: 107.5 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.2964, allocations: 55.78 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2965, allocations: 12 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.2966, allocations: 19.92 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.2967, allocations: 23.92 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2967, allocations: 4 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.297, allocations: 147.7 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.297, allocations: 11.98 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.2971, allocations: 15.88 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2973, allocations: 131.6 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2974, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2974, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2974, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7325 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.0005734/0.2979, allocations: 395.2 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.298, allocations: 8.031 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.2984, allocations: 24.91 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2986, allocations: 172.2 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2986, allocations: 384 / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.2986, allocations: 8.375 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.2989, allocations: 82.19 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2989, allocations: 192 / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2989, allocations: 7.938 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2989, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.2992, allocations: 71.92 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.2998, allocations: 332.5 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.3001, allocations: 74.52 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3003, allocations: 40.91 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3003, allocations: 4 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3003, allocations: 30.56 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3003, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0005192/0.3009, allocations: 125.7 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3009, allocations: 55.39 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.301, allocations: 113.8 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.301, allocations: 26.08 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3011, allocations: 92.05 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3011, allocations: 3.906 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.3012, allocations: 25.7 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3013, allocations: 326.7 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3014, allocations: 31.97 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3016, allocations: 28.09 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.3018, allocations: 80.73 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3019, allocations: 0 / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003316/0.3022, allocations: 105.5 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3022, allocations: 4 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3022, allocations: 3.984 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3023, allocations: 4 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3024, allocations: 15.98 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3024, allocations: 0 / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3026, allocations: 19.92 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3026, allocations: 3.984 kB / 0.9559 GB, free: 2.949 MB / 0.7325 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 9.207e-05/0.3027, allocations: 113.8 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3027, allocations: 3.906 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.3028, allocations: 11.91 kB / 0.956 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3028, allocations: 7.938 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3028, allocations: 0 / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3028, allocations: 0 / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.303, allocations: 177.6 kB / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.303, allocations: 4 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.3032, allocations: 15.97 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3032, allocations: 0 / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3032, allocations: 4 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3032, allocations: 0 / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3032, allocations: 4 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3036, allocations: 195.3 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3037, allocations: 81.09 kB / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3037, allocations: 0 / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3038, allocations: 20.05 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3039, allocations: 4 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3039, allocations: 0 / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.304, allocations: 95.2 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.304, allocations: 288 / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002581/0.3042, allocations: 16 kB / 0.9566 GB, free: 2.113 MB / 0.7325 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.0001791/0.3044, allocations: 117.8 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3048, allocations: 75.88 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3048, allocations: 0 / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3049, allocations: 43.89 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3052, allocations: 15.92 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.3057, allocations: 151.2 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.306, allocations: 0.696 MB / 0.9576 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.451e-05/0.3061, allocations: 12 kB / 0.9576 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.3061, allocations: 11.44 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.3061, allocations: 0 / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of Templates: time 0.003479/0.3096, allocations: 1.035 MB / 0.9587 GB, free: 15.92 MB / 0.7481 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 -s gbode -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