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.007868/0.007868, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002439/0.002439, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.438 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.446/2.446, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6672, allocations: 140.3 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.00179/0.6691, allocations: 0.7414 MB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.6704, allocations: 1.379 MB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.6705, allocations: 1.375 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.6705, allocations: 3.938 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.6706, allocations: 9.297 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.6709, allocations: 88.44 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.671, allocations: 43.11 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.6711, allocations: 13.5 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.6711, allocations: 18.8 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.6712, allocations: 22.78 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.6712, allocations: 2.469 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.6714, allocations: 150 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.6715, allocations: 9.203 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.6715, allocations: 21.7 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.6717, allocations: 92.23 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6717, allocations: 7.938 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6717, allocations: 1.094 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6717, allocations: 0 / 0.9521 GB, free: 7.285 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.0004559/0.6721, allocations: 376.7 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.6722, allocations: 8.5 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.6726, allocations: 35.12 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.6727, allocations: 178.3 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.6727, allocations: 2.062 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6727, allocations: 3.5 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.673, allocations: 76.48 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.673, allocations: 192 / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.673, allocations: 13.17 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.673, allocations: 5.125 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.6733, allocations: 72.64 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.6738, allocations: 312.2 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.6741, allocations: 81.52 kB / 0.9532 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.6743, allocations: 33.31 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.6743, allocations: 5.344 kB / 0.9533 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.6743, allocations: 38.56 kB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.6743, allocations: 5.234 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005085/0.6749, allocations: 128.9 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.6749, allocations: 52.94 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.675, allocations: 113.7 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.675, allocations: 27.08 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.675, allocations: 89.39 kB / 0.9537 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.675, allocations: 18.08 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.6751, allocations: 17.84 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.6751, allocations: 319.8 kB / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.6753, allocations: 40.34 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.6754, allocations: 28.97 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.6757, allocations: 61.22 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6757, allocations: 1.281 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003055/0.676, allocations: 117.7 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.676, allocations: 7.656 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.676, allocations: 0 / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.676, allocations: 1.594 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.6762, allocations: 19 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6762, allocations: 5.047 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6763, allocations: 13.33 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.6763, allocations: 1.406 kB / 0.9543 GB, free: 5.203 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.6764, allocations: 116.1 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6764, allocations: 6.469 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.6764, allocations: 9.312 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6765, allocations: 384 / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6765, allocations: 1.375 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6765, allocations: 3.984 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.6766, allocations: 175.4 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6766, allocations: 9.25 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.6767, allocations: 18.33 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6768, allocations: 0 / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6768, allocations: 5.234 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6768, allocations: 0 / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6768, allocations: 1.531 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.6771, allocations: 197.3 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.6771, allocations: 82.42 kB / 0.9549 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.6772, allocations: 1.312 kB / 0.9549 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.6773, allocations: 9.484 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.6773, allocations: 1.844 kB / 0.9549 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.6774, allocations: 5.422 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.6774, allocations: 90.91 kB / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.042e-06/0.6774, allocations: 0 / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002526/0.6777, allocations: 26.47 kB / 0.9551 GB, free: 4.461 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 (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.0001553/0.6778, allocations: 113.3 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.6781, allocations: 77.8 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6782, allocations: 0 / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.6783, allocations: 31.81 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.6786, allocations: 12.5 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.6791, allocations: 200.5 kB / 0.9555 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6792, allocations: 0.6813 MB / 0.9561 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.6793, allocations: 15.08 kB / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6793, allocations: 0 / 0.9562 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002535/0.6818, allocations: 1.119 MB / 0.9572 GB, free: 2.844 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/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