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.005867/0.005867, allocations: 100.8 kB / 15.87 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.001257/0.001257, allocations: 195.5 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.449 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.417/2.417, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6879, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001866/0.6898, allocations: 0.8242 MB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.6906, allocations: 0.8766 MB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.6906, allocations: 1.531 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.6907, allocations: 3.938 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.6908, allocations: 18.31 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.6909, allocations: 30.12 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.691, allocations: 95.53 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6911, allocations: 23.73 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.6912, allocations: 33.67 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.6913, allocations: 46.25 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.6913, allocations: 5.5 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.6914, allocations: 4.031 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.6914, allocations: 18.62 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.6914, allocations: 33.39 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.6915, allocations: 63.59 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6915, allocations: 1.375 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.21e-07/0.6915, allocations: 0 / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.6915, allocations: 4 kB / 0.9516 GB, free: 7.559 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.000664/0.6922, allocations: 413.7 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.6923, allocations: 9.625 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.6923, allocations: 8.969 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.6924, allocations: 180.3 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6924, allocations: 7.109 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.6924, allocations: 8.5 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.6927, allocations: 113 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.6927, allocations: 4.125 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.6928, allocations: 9.312 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6928, allocations: 1.375 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.6931, allocations: 104.1 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.6936, allocations: 432.9 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.694, allocations: 123.4 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.6941, allocations: 56.92 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.6942, allocations: 4 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.6942, allocations: 31.66 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6942, allocations: 3.938 kB / 0.9531 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006007/0.6948, allocations: 171.2 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.6948, allocations: 86.36 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.6949, allocations: 145.6 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.695, allocations: 31.14 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.695, allocations: 94.58 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.695, allocations: 18.39 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.6951, allocations: 32.36 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.6951, allocations: 316 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6953, allocations: 52.52 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.6955, allocations: 67.17 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.6958, allocations: 108 kB / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6958, allocations: 0 / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000382/0.6962, allocations: 142.8 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6962, allocations: 7.688 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6962, allocations: 1.406 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6962, allocations: 3.984 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6964, allocations: 29.59 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6964, allocations: 4.969 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.6966, allocations: 20.17 kB / 0.9543 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.6966, allocations: 7.094 kB / 0.9543 GB, free: 5.082 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.014e-05/0.6966, allocations: 112.8 kB / 0.9544 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.6967, allocations: 8.188 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.6972, allocations: 196.3 kB / 0.9546 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.6972, allocations: 1.188 kB / 0.9546 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6972, allocations: 1.156 kB / 0.9546 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6972, allocations: 5.219 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.6974, allocations: 202.5 kB / 0.9548 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6974, allocations: 5.438 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.6976, allocations: 32.47 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6976, allocations: 1.281 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.6976, allocations: 1.156 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6976, allocations: 1.125 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6976, allocations: 0 / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.6981, allocations: 333 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.6981, allocations: 98.66 kB / 0.9553 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6981, allocations: 5.703 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.6983, allocations: 11.42 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.6984, allocations: 18.91 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.6984, allocations: 7.031 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.6985, allocations: 117.2 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6985, allocations: 0 / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002771/0.6987, allocations: 19.56 kB / 0.9555 GB, free: 4.078 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 8.706e-05/0.6988, allocations: 101.5 kB / 0.9556 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.6992, allocations: 110.6 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6993, allocations: 4 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.6994, allocations: 69.7 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.6999, allocations: 24.02 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.7005, allocations: 279.6 kB / 0.956 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.7006, allocations: 0.7026 MB / 0.9567 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.7007, allocations: 14.5 kB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7007, allocations: 3.938 kB / 0.9567 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.002706/0.7035, allocations: 1.384 MB / 0.9581 GB, free: 2.215 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