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.001384/0.001384, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001607/0.001607, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.51/2.51, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.83 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7982, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001957/0.8002, allocations: 0.7313 MB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.8018, allocations: 1.372 MB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.8019, allocations: 0 / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.8019, allocations: 0 / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.802, allocations: 9.188 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.8025, allocations: 105.1 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.8026, allocations: 48.36 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8027, allocations: 9.062 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.8027, allocations: 19.11 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.8028, allocations: 18.58 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.8029, allocations: 8.312 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.8031, allocations: 155.2 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.8031, allocations: 5.219 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.8032, allocations: 26.33 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.8034, allocations: 125.4 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8034, allocations: 1.344 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8034, allocations: 0 / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.8035, allocations: 0 / 0.9517 GB, free: 7.156 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.0005615/0.804, allocations: 384.5 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8041, allocations: 9.594 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.8045, allocations: 35.02 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.8047, allocations: 177.5 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.8047, allocations: 1.812 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.8047, allocations: 3.281 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.805, allocations: 85.28 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.805, allocations: 1.531 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.805, allocations: 3.938 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.805, allocations: 1.094 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.8053, allocations: 73.45 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.8058, allocations: 313.2 kB / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.8061, allocations: 80.05 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.8063, allocations: 37.69 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.8063, allocations: 0 / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.8063, allocations: 35.66 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.8063, allocations: 1.25 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005317/0.8069, allocations: 137.2 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.8069, allocations: 52.72 kB / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.807, allocations: 114.8 kB / 0.9531 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.807, allocations: 25.7 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.807, allocations: 94.5 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.807, allocations: 17.34 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.8071, allocations: 25.42 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.8071, allocations: 320.3 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.8073, allocations: 27.88 kB / 0.9536 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.8074, allocations: 33.03 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.8077, allocations: 70.33 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8077, allocations: 3.938 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003054/0.808, allocations: 102.3 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.808, allocations: 5.312 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.808, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.808, allocations: 9.594 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.8082, allocations: 19.62 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.8082, allocations: 0 / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.8083, allocations: 9.766 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8083, allocations: 1.375 kB / 0.9539 GB, free: 5.07 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 6.587e-05/0.8084, allocations: 116.3 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.8084, allocations: 6.406 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.8085, allocations: 17.14 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8085, allocations: 0 / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8085, allocations: 1.375 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8085, allocations: 0 / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.8087, allocations: 180.4 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8087, allocations: 0 / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.8088, allocations: 14.73 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.8088, allocations: 3.984 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.8088, allocations: 1.312 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8088, allocations: 5.438 kB / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8088, allocations: 4 kB / 0.9542 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.8092, allocations: 193.9 kB / 0.9544 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.8092, allocations: 82.05 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.8092, allocations: 1.344 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.8094, allocations: 13.2 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.8094, allocations: 2.812 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.8094, allocations: 3.984 kB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.8095, allocations: 95.38 kB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8095, allocations: 0 / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002602/0.8097, allocations: 27.55 kB / 0.9546 GB, free: 4.32 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.0001685/0.8099, allocations: 107.9 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.8102, allocations: 74.3 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8102, allocations: 0 / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.8104, allocations: 35.47 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.8107, allocations: 21.39 kB / 0.9548 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.8112, allocations: 160.3 kB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.8113, allocations: 0.6849 MB / 0.9557 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.8115, allocations: 15.5 kB / 0.9557 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.8115, allocations: 15.02 kB / 0.9557 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8115, allocations: 0 / 0.9557 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.003215/0.8147, allocations: 0.9755 MB / 0.9566 GB, free: 2.797 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