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.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.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.00157/0.00157, 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.002052/0.002052, allocations: 193.8 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.505/2.505, allocations: 390.2 MB / 0.6646 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.88 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8242, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.00194/0.8262, allocations: 0.7643 MB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.827, allocations: 0.8714 MB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.8271, allocations: 1.25 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.8271, allocations: 9.672 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.8272, allocations: 13.75 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.8274, allocations: 40.88 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.8275, allocations: 101.3 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.8277, allocations: 24.72 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.8278, allocations: 44.62 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.8279, allocations: 42.55 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.8279, allocations: 7.812 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.8279, allocations: 6.844 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.8279, allocations: 22.78 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.828, allocations: 38.14 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.8281, allocations: 92.53 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8281, allocations: 0 / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8281, allocations: 1 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8281, allocations: 0 / 0.9516 GB, free: 7.562 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.0006213/0.8288, allocations: 410.2 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.8288, allocations: 8.844 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.8288, allocations: 8.656 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.8289, allocations: 185.1 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8289, allocations: 3.094 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.829, allocations: 3.438 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.8293, allocations: 117.6 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8293, allocations: 4.188 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8293, allocations: 8.734 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8293, allocations: 2.031 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.8296, allocations: 99.5 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.8302, allocations: 447.7 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.8305, allocations: 115.5 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.8307, allocations: 68.34 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.8308, allocations: 1.25 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.8308, allocations: 36.25 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.8308, allocations: 0 / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006378/0.8314, allocations: 177.7 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.8315, allocations: 78.33 kB / 0.9533 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.8316, allocations: 140.3 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.8316, allocations: 25.7 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.8317, allocations: 99.78 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.8317, allocations: 18.5 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.8317, allocations: 35.19 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.8318, allocations: 325.5 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.832, allocations: 43.36 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.8322, allocations: 59.89 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.8325, allocations: 111.3 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8325, allocations: 1.406 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003808/0.8329, allocations: 134.5 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8329, allocations: 5.406 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8329, allocations: 4 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8329, allocations: 1.438 kB / 0.9543 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.8331, allocations: 29.81 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8331, allocations: 0 / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.8333, allocations: 25.42 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8333, allocations: 5.422 kB / 0.9543 GB, free: 5.094 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.561e-05/0.8333, allocations: 114.1 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.8334, allocations: 7.969 kB / 0.9544 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.8339, allocations: 188.5 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.8339, allocations: 1.281 kB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8339, allocations: 5.188 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8339, allocations: 7.922 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.8341, allocations: 207.7 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8342, allocations: 1.25 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.8343, allocations: 28.11 kB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.8343, allocations: 5.469 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.8343, allocations: 9.375 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8344, allocations: 5.328 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8344, allocations: 0 / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.8348, allocations: 321.7 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.8348, allocations: 101.2 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.8349, allocations: 1.125 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.835, allocations: 15.55 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.8351, allocations: 20.67 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.8351, allocations: 10.39 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.8352, allocations: 108.2 kB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8352, allocations: 0 / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002615/0.8355, allocations: 22 kB / 0.9555 GB, free: 4.09 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 9.94e-05/0.8356, allocations: 99.28 kB / 0.9555 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.836, allocations: 127.1 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.836, allocations: 0 / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.8362, allocations: 64.98 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.8366, allocations: 33.47 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.8371, allocations: 214.2 kB / 0.956 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.8372, allocations: 0.7028 MB / 0.9567 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.8373, allocations: 12.03 kB / 0.9567 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.8374, allocations: 18.39 kB / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 1.8e-07/0.8374, allocations: 0 / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.005807/0.8432, allocations: 1.801 MB / 0.9584 GB, free: 2.086 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/jenkins/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