Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 98.88 kB / 16.02 MB, free: 76 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.001315/0.001315, allocations: 185.3 kB / 16.92 MB, free: 6.77 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.355 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.345/2.345, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003404, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7225, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0008935/0.7235, allocations: 486.9 kB / 0.9562 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.7245, allocations: 0.8722 MB / 0.957 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.7246, allocations: 1.312 kB / 0.957 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.7246, allocations: 3.938 kB / 0.957 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.7247, allocations: 17.06 kB / 0.9571 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.7249, allocations: 25.81 kB / 0.9571 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.725, allocations: 100.4 kB / 0.9572 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.7252, allocations: 27.44 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.7253, allocations: 33.36 kB / 0.9572 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.7254, allocations: 46.69 kB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.7254, allocations: 2.719 kB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.7254, allocations: 3.25 kB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.7255, allocations: 14.52 kB / 0.9573 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.7255, allocations: 59.12 kB / 0.9574 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.7256, allocations: 63.62 kB / 0.9574 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7256, allocations: 5.156 kB / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7257, allocations: 0 / 0.9574 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7257, allocations: 0 / 0.9574 GB, free: 6.441 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006208/0.7263, allocations: 405 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7263, allocations: 8.562 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.7264, allocations: 9.188 kB / 0.9578 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.7265, allocations: 176.6 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7265, allocations: 7.312 kB / 0.958 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.7265, allocations: 3.281 kB / 0.958 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.7269, allocations: 135.4 kB / 0.9581 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7269, allocations: 192 / 0.9581 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.7269, allocations: 4.875 kB / 0.9581 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7269, allocations: 2.375 kB / 0.9581 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.7273, allocations: 123.1 kB / 0.9583 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.7278, allocations: 443.5 kB / 0.9587 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.7282, allocations: 130.6 kB / 0.9588 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.7284, allocations: 69.7 kB / 0.9589 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7285, allocations: 1.625 kB / 0.9589 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.7285, allocations: 40.31 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7285, allocations: 3.938 kB / 0.9589 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006478/0.7292, allocations: 207.3 kB / 0.9591 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.7292, allocations: 82.42 kB / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.7293, allocations: 138.3 kB / 0.9593 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.7293, allocations: 27.08 kB / 0.9593 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.7293, allocations: 98.78 kB / 0.9594 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.7294, allocations: 22.41 kB / 0.9595 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.7294, allocations: 11.09 kB / 0.9595 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.7295, allocations: 325.5 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.7296, allocations: 56.95 kB / 0.9598 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.7298, allocations: 78.23 kB / 0.9599 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.7302, allocations: 130.8 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7302, allocations: 1.812 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004087/0.7306, allocations: 165.5 kB / 0.9602 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7306, allocations: 9.25 kB / 0.9602 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7306, allocations: 0 / 0.9602 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7307, allocations: 1.188 kB / 0.9602 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.7308, allocations: 42.23 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.7309, allocations: 1.438 kB / 0.9602 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.731, allocations: 24.11 kB / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.731, allocations: 2.531 kB / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.446e-05/0.7311, allocations: 113.6 kB / 0.9604 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.7311, allocations: 7.594 kB / 0.9604 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.7317, allocations: 215.8 kB / 0.9606 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.7317, allocations: 2.125 kB / 0.9606 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7317, allocations: 4.938 kB / 0.9606 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7317, allocations: 3.938 kB / 0.9606 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.7319, allocations: 204.4 kB / 0.9608 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7319, allocations: 0 / 0.9608 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.7321, allocations: 38.53 kB / 0.9608 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7321, allocations: 4.375 kB / 0.9608 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7321, allocations: 1.375 kB / 0.9608 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7321, allocations: 1.375 kB / 0.9608 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7322, allocations: 1.375 kB / 0.9608 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.7326, allocations: 363.7 kB / 0.9612 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.7327, allocations: 94.44 kB / 0.9613 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.7327, allocations: 5.375 kB / 0.9613 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.7329, allocations: 18.98 kB / 0.9613 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.733, allocations: 17.42 kB / 0.9613 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.733, allocations: 2.75 kB / 0.9613 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.733, allocations: 115.6 kB / 0.9614 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.733, allocations: 0 / 0.9614 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002797/0.7333, allocations: 19.12 kB / 0.9615 GB, free: 2.957 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001128/0.7335, allocations: 105.1 kB / 0.9616 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.7339, allocations: 134.4 kB / 0.9617 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7339, allocations: 0 / 0.9617 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.7341, allocations: 75.11 kB / 0.9618 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.7346, allocations: 37.67 kB / 0.9618 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.7351, allocations: 285.8 kB / 0.9621 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.7352, allocations: 0.7034 MB / 0.9627 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.7353, allocations: 13.81 kB / 0.9628 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.7353, allocations: 0 / 0.9628 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.003001/0.7383, allocations: 1.382 MB / 0.9641 GB, free: 1.082 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches