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.001124/0.001124, allocations: 109.7 kB / 15.99 MB, free: 6.355 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.00106/0.001061, allocations: 192.1 kB / 16.91 MB, free: 6.195 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.352/2.352, allocations: 390.3 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001275, allocations: 64.36 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002526/0.2802, allocations: 0.8103 MB / 0.9506 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2814, allocations: 0.8857 MB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.2815, allocations: 0 / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.2815, allocations: 3.938 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2816, allocations: 19.84 kB / 0.9515 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2819, allocations: 27.97 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.282, allocations: 99.62 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2822, allocations: 24 kB / 0.9516 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2823, allocations: 35.91 kB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2824, allocations: 51.81 kB / 0.9517 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.2824, allocations: 4 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.2824, allocations: 8 kB / 0.9517 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.2825, allocations: 19.92 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.2825, allocations: 39.78 kB / 0.9518 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2827, allocations: 68.09 kB / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2827, allocations: 0 / 0.9518 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2827, allocations: 4 kB / 0.9518 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.2827, allocations: 0 / 0.9518 GB, free: 7.152 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.0008059/0.2835, allocations: 411.1 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2835, allocations: 8.031 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.2836, allocations: 12.84 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2838, allocations: 176.2 kB / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2838, allocations: 4.375 kB / 0.9524 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2838, allocations: 4.375 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2842, allocations: 131.8 kB / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2842, allocations: 192 / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.2842, allocations: 7.938 kB / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2842, allocations: 4 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.2846, allocations: 103.8 kB / 0.9526 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.2852, allocations: 436.6 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.2856, allocations: 121.1 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2858, allocations: 61.67 kB / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2859, allocations: 0 / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.2859, allocations: 42.5 kB / 0.9533 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2859, allocations: 0 / 0.9533 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.000636/0.2866, allocations: 177.4 kB / 0.9534 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.2866, allocations: 77.11 kB / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2867, allocations: 135.9 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2868, allocations: 29.7 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.2869, allocations: 99.97 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.2869, allocations: 27.84 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.287, allocations: 21.72 kB / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2871, allocations: 326.8 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2873, allocations: 43.95 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2875, allocations: 61.67 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.2878, allocations: 109.6 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2878, allocations: 0 / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004006/0.2882, allocations: 137.5 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2882, allocations: 8 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2883, allocations: 0 / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2883, allocations: 0 / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2885, allocations: 35.91 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2885, allocations: 3.984 kB / 0.9545 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2886, allocations: 23.86 kB / 0.9545 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2886, allocations: 0 / 0.9545 GB, free: 4.105 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.0001009/0.2887, allocations: 113.8 kB / 0.9546 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.2888, allocations: 11.84 kB / 0.9547 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.2893, allocations: 194.2 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.2893, allocations: 0 / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2894, allocations: 4 kB / 0.9548 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2894, allocations: 3.938 kB / 0.9548 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2897, allocations: 213.5 kB / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2897, allocations: 0 / 0.9551 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2898, allocations: 31.97 kB / 0.9551 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2898, allocations: 0 / 0.9551 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2899, allocations: 4 kB / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.2899, allocations: 7.938 kB / 0.9551 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2899, allocations: 3.938 kB / 0.9551 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.2904, allocations: 326.4 kB / 0.9554 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.2905, allocations: 96.98 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.2905, allocations: 4 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.2907, allocations: 15.98 kB / 0.9555 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.2908, allocations: 15.86 kB / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2908, allocations: 8 kB / 0.9555 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.2909, allocations: 113.1 kB / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2909, allocations: 0 / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002942/0.2912, allocations: 20 kB / 0.9557 GB, free: 2.844 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.0001269/0.2913, allocations: 103.2 kB / 0.9558 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2918, allocations: 119.8 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2918, allocations: 0 / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.292, allocations: 59.95 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.2925, allocations: 27.98 kB / 0.956 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.2931, allocations: 289 kB / 0.9562 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2933, allocations: 0.7002 MB / 0.9569 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.2934, allocations: 19.42 kB / 0.9569 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2934, allocations: 0 / 0.9569 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.003324/0.2968, allocations: 1.402 MB / 0.9583 GB, free: 80 kB / 0.7325 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