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.0009646/0.0009646, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001191/0.001192, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.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.697/2.697, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004391, allocations: 8 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8906/0.891, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0009072/0.892, allocations: 389.4 kB / 0.9548 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.8939, allocations: 1.331 MB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.8939, allocations: 0 / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.894, allocations: 7.922 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.8941, allocations: 5.156 kB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.8945, allocations: 84.2 kB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.8946, allocations: 48.67 kB / 0.9563 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.8947, allocations: 8.75 kB / 0.9563 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.8948, allocations: 18.89 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.8949, allocations: 17.98 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.8949, allocations: 2.844 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.8953, allocations: 148.8 kB / 0.9564 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.8953, allocations: 5.172 kB / 0.9564 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.8953, allocations: 37.52 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.8955, allocations: 83.62 kB / 0.9566 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8956, allocations: 1.344 kB / 0.9566 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8956, allocations: 4 kB / 0.9566 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8956, allocations: 0 / 0.9566 GB, free: 6.102 MB / 0.7169 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.0005896/0.8962, allocations: 378.4 kB / 0.9569 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.8962, allocations: 9.969 kB / 0.9569 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.8968, allocations: 37.45 kB / 0.957 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.8969, allocations: 165 kB / 0.9571 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8969, allocations: 5.219 kB / 0.9571 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.8969, allocations: 2.25 kB / 0.9571 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.8973, allocations: 89.59 kB / 0.9572 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8973, allocations: 9.75 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.8973, allocations: 3.984 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8973, allocations: 5.859 kB / 0.9572 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.8978, allocations: 76.77 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.8984, allocations: 321.2 kB / 0.9576 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.8988, allocations: 93.89 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.899, allocations: 42.12 kB / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.8991, allocations: 0 / 0.9577 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.8991, allocations: 32.03 kB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8991, allocations: 4 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007216/0.8998, allocations: 140.2 kB / 0.9579 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.8999, allocations: 53.53 kB / 0.958 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.9, allocations: 113.2 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.9, allocations: 29.64 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.9001, allocations: 94.69 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.9001, allocations: 12.94 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.9001, allocations: 5.25 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.9002, allocations: 312.2 kB / 0.9585 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.9004, allocations: 39.72 kB / 0.9585 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.9006, allocations: 37.97 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.9008, allocations: 41.97 kB / 0.9586 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9008, allocations: 0 / 0.9586 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004441/0.9012, allocations: 115.1 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9013, allocations: 5.375 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.9013, allocations: 0 / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9013, allocations: 1.344 kB / 0.9587 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.9015, allocations: 22.38 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.9015, allocations: 3.938 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.9017, allocations: 20.28 kB / 0.9588 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.9017, allocations: 5.516 kB / 0.9588 GB, free: 4.055 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.9018, allocations: 107.6 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.9018, allocations: 7.078 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.9019, allocations: 9.062 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9019, allocations: 3.938 kB / 0.9589 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9019, allocations: 1.156 kB / 0.9589 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9019, allocations: 0 / 0.9589 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.9022, allocations: 180.1 kB / 0.9591 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9022, allocations: 5 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.9023, allocations: 16.83 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9024, allocations: 5.422 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.9024, allocations: 3.938 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9024, allocations: 0.5625 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9024, allocations: 3.984 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.9029, allocations: 208.3 kB / 0.9593 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.9029, allocations: 78.14 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.903, allocations: 5.047 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.9032, allocations: 20.02 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.9032, allocations: 1.188 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.9032, allocations: 1.5 kB / 0.9594 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.9033, allocations: 91.14 kB / 0.9595 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9033, allocations: 1.094 kB / 0.9595 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004315/0.9037, allocations: 22.59 kB / 0.9595 GB, free: 3.316 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.904, allocations: 116 kB / 0.9596 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.9045, allocations: 79.44 kB / 0.9597 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9045, allocations: 3.938 kB / 0.9597 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.9047, allocations: 47.69 kB / 0.9598 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.9052, allocations: 10.94 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.9058, allocations: 202.2 kB / 0.96 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.906, allocations: 0.6811 MB / 0.9606 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00017/0.9062, allocations: 15.34 kB / 0.9606 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.9062, allocations: 14.39 kB / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.9062, allocations: 0 / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.004693/0.9109, allocations: 0.9167 MB / 0.9616 GB, free: 1.789 MB / 0.7169 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