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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001465/0.001465, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 63.27 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4116, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002157/0.4138, allocations: 0.6699 MB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.4157, allocations: 1.375 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.4158, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.4158, allocations: 3.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.46e-05/0.4159, allocations: 11.92 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.4164, allocations: 99.55 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.4165, allocations: 55.8 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4166, allocations: 15.98 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.4167, allocations: 19.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.4168, allocations: 19.92 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.4168, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.4171, allocations: 151.7 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.4172, allocations: 7.938 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.4172, allocations: 23.92 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4175, allocations: 127.9 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4175, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4175, allocations: 0 / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4175, allocations: 4 kB / 1.071 GB, free: 7.77 MB / 0.8262 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.0006538/0.4181, allocations: 379.3 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4182, allocations: 8.031 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.4186, allocations: 36.8 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4188, allocations: 168.3 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4188, allocations: 8.375 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.4188, allocations: 384 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4191, allocations: 86.19 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4191, allocations: 4.172 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4192, allocations: 3.938 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4192, allocations: 4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.4195, allocations: 71.92 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.4201, allocations: 320.6 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.4204, allocations: 78.56 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.4206, allocations: 36.88 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4206, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4206, allocations: 34.55 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.737e-06/0.4206, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005537/0.4212, allocations: 125.5 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4213, allocations: 59.34 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.4213, allocations: 113.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4214, allocations: 26.08 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.4214, allocations: 92.2 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4215, allocations: 15.8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.4215, allocations: 21.7 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4216, allocations: 322.7 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4218, allocations: 27.97 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.4219, allocations: 35.97 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.4222, allocations: 68.8 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4222, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003477/0.4226, allocations: 105.6 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4226, allocations: 5.875 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4226, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4226, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4228, allocations: 19.98 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4228, allocations: 4 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4229, allocations: 15.83 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4229, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 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.0001034/0.423, allocations: 127.3 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.4231, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.4231, allocations: 7.906 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4231, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4231, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4231, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4234, allocations: 181.8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4234, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.4235, allocations: 23.91 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4236, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4236, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4236, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4236, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.424, allocations: 199.3 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.424, allocations: 77.11 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4241, allocations: 4 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4242, allocations: 15.92 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4242, allocations: 4.219 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4243, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.4243, allocations: 91.27 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.364e-06/0.4243, allocations: 288 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002532/0.4246, allocations: 19.84 kB / 1.074 GB, free: 4.441 MB / 0.8262 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.0002308/0.4248, allocations: 127.8 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.4252, allocations: 67.88 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4252, allocations: 0 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4253, allocations: 39.91 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4257, allocations: 13.95 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.4262, allocations: 163.1 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4267, allocations: 0.6807 MB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.4268, allocations: 11.98 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.4268, allocations: 11.44 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4269, allocations: 4 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.004319/0.4312, allocations: 1.025 MB / 1.076 GB, free: 2.285 MB / 0.8262 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 -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/jenkins/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