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.001466/0.001466, allocations: 105 kB / 16.27 MB, free: 5.914 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.001691/0.001691, allocations: 193.6 kB / 17.2 MB, free: 5.547 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.279/2.279, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.56 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2576, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002174/0.2598, allocations: 0.761 MB / 0.951 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.261, allocations: 0.8722 MB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.2611, allocations: 4 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.2612, allocations: 7.875 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2613, allocations: 19.8 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2615, allocations: 35.95 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2616, allocations: 91.77 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2618, allocations: 31.89 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2619, allocations: 43.84 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2621, allocations: 47.77 kB / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2621, allocations: 12 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.2621, allocations: 8 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.2622, allocations: 19.91 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2622, allocations: 39.8 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2624, allocations: 91.94 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2624, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2624, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2624, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7325 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.0008086/0.2632, allocations: 415.1 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2633, allocations: 8.031 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.2633, allocations: 8.844 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2635, allocations: 176.3 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2635, allocations: 4.375 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2635, allocations: 4.375 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.2639, allocations: 130.8 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2639, allocations: 4.125 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.264, allocations: 3.938 kB / 0.953 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.264, allocations: 4 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.2644, allocations: 99.89 kB / 0.9531 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.265, allocations: 444.5 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.2655, allocations: 117.1 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.2657, allocations: 61.73 kB / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2657, allocations: 0 / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2658, allocations: 30.56 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.2658, allocations: 4 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007207/0.2665, allocations: 173.8 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.2666, allocations: 81.11 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2667, allocations: 136.2 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2667, allocations: 25.7 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.2668, allocations: 108.1 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.2668, allocations: 23.7 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.2669, allocations: 21.7 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.267, allocations: 326.8 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2672, allocations: 43.95 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.2674, allocations: 65.61 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.2678, allocations: 109.6 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2678, allocations: 0 / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004419/0.2683, allocations: 145.4 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2683, allocations: 4 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2683, allocations: 4 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.2684, allocations: 0 / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2686, allocations: 27.91 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2686, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2687, allocations: 23.86 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2688, allocations: 7.984 kB / 0.955 GB, free: 3.773 MB / 0.7325 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 0.0001117/0.2689, allocations: 119.8 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.269, allocations: 11.84 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.2695, allocations: 185.6 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2695, allocations: 0 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.2696, allocations: 0 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2696, allocations: 7.875 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.2699, allocations: 213.5 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2699, allocations: 0 / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2701, allocations: 27.97 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2701, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2702, allocations: 8 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2702, allocations: 4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2702, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.2707, allocations: 326.4 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.2708, allocations: 97 kB / 0.956 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2708, allocations: 4 kB / 0.956 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.271, allocations: 19.97 kB / 0.956 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.2711, allocations: 11.92 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2711, allocations: 12.08 kB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.2712, allocations: 110.8 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2712, allocations: 0 / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002902/0.2715, allocations: 20 kB / 0.9561 GB, free: 2.523 MB / 0.7325 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.0001276/0.2716, allocations: 103.2 kB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.2721, allocations: 119.8 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2721, allocations: 0 / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2723, allocations: 71.88 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.2728, allocations: 33.73 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.2734, allocations: 249.1 kB / 0.9567 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2737, allocations: 0.7002 MB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.2738, allocations: 19.42 kB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.2738, allocations: 0 / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of Templates: time 0.003291/0.2771, allocations: 1.401 MB / 0.9588 GB, free: 15.78 MB / 0.7481 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