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.001332/0.001332, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001372/0.001372, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.94 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002048/0.2607, allocations: 0.7363 MB / 0.9505 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2625, allocations: 1.377 MB / 0.9518 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.2626, allocations: 7.938 kB / 0.9518 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.2626, allocations: 0 / 0.9518 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.782e-05/0.2627, allocations: 7.938 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2631, allocations: 87.7 kB / 0.9519 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.2632, allocations: 47.84 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.2633, allocations: 15.98 kB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.2634, allocations: 23.86 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.2635, allocations: 15.92 kB / 0.952 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2635, allocations: 8 kB / 0.952 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2638, allocations: 143.8 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2638, allocations: 19.91 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.2638, allocations: 15.94 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.264, allocations: 96.03 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.264, allocations: 0 / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2641, allocations: 0 / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2641, allocations: 0 / 0.9523 GB, free: 6.582 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.0005527/0.2646, allocations: 395.2 kB / 0.9527 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2647, allocations: 8.031 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.2651, allocations: 28.91 kB / 0.9527 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2653, allocations: 164.3 kB / 0.9529 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2653, allocations: 8.359 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2653, allocations: 8.375 kB / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.2656, allocations: 74.2 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2656, allocations: 192 / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2656, allocations: 11.94 kB / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2657, allocations: 0 / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.266, allocations: 71.86 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.2665, allocations: 324.6 kB / 0.9534 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2669, allocations: 78.52 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2671, allocations: 44.89 kB / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2671, allocations: 0 / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.2672, allocations: 34.5 kB / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2672, allocations: 0 / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0006736/0.2678, allocations: 121.6 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2679, allocations: 59.39 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2681, allocations: 113.8 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2681, allocations: 29.7 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.2682, allocations: 88.05 kB / 0.9539 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2682, allocations: 7.906 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.2683, allocations: 21.7 kB / 0.9539 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2685, allocations: 318.8 kB / 0.9542 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2686, allocations: 35.91 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2688, allocations: 35.95 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2691, allocations: 64.81 kB / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2691, allocations: 0 / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003512/0.2694, allocations: 105.7 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2695, allocations: 4 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2695, allocations: 4 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2695, allocations: 11.94 kB / 0.9545 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2697, allocations: 15.98 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.2697, allocations: 7.922 kB / 0.9545 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2698, allocations: 7.938 kB / 0.9545 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2698, allocations: 7.984 kB / 0.9545 GB, free: 4.09 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 0.0001038/0.2699, allocations: 115.8 kB / 0.9546 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.27, allocations: 7.906 kB / 0.9546 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.27, allocations: 11.91 kB / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.27, allocations: 0 / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.27, allocations: 0 / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.27, allocations: 0 / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2703, allocations: 177.6 kB / 0.9548 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2703, allocations: 3.984 kB / 0.9548 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2705, allocations: 15.98 kB / 0.9548 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2705, allocations: 0 / 0.9548 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2705, allocations: 4 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2705, allocations: 0 / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2705, allocations: 4 kB / 0.9548 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.2709, allocations: 199.3 kB / 0.955 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.271, allocations: 81.09 kB / 0.9551 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.271, allocations: 4 kB / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2712, allocations: 12.36 kB / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.2712, allocations: 4 kB / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2713, allocations: 4 kB / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.2713, allocations: 95.2 kB / 0.9552 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2713, allocations: 0 / 0.9552 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002607/0.2716, allocations: 16 kB / 0.9552 GB, free: 3.254 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.000236/0.2718, allocations: 111.2 kB / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.2722, allocations: 71.88 kB / 0.9554 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2722, allocations: 0 / 0.9554 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2724, allocations: 39.95 kB / 0.9555 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2728, allocations: 17.81 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.2734, allocations: 197 kB / 0.9557 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.2738, allocations: 0.6921 MB / 0.9563 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.2739, allocations: 23.38 kB / 0.9564 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2739, allocations: 0 / 0.9564 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.003093/0.277, allocations: 1.138 MB / 0.9575 GB, free: 0.9141 MB / 0.7325 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