Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001185/0.00119, allocations: 92.16 kB / 16.02 MB, free: 80 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.001574/0.001574, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 8.125 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3394, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001006/0.3404, allocations: 486.8 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3416, allocations: 0.8857 MB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3416, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.3417, allocations: 3.938 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.3418, allocations: 11.88 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.342, allocations: 35.94 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3421, allocations: 91.7 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3422, allocations: 16 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.3423, allocations: 43.83 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.3425, allocations: 39.83 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3425, allocations: 4 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.3425, allocations: 4 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.3425, allocations: 11.92 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.3426, allocations: 65.48 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.3427, allocations: 64.08 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3427, allocations: 4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3427, allocations: 0 / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3427, allocations: 0 / 1.061 GB, free: 3.199 MB / 0.8106 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.000647/0.3434, allocations: 399.2 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3434, allocations: 11.97 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3435, allocations: 12.75 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3436, allocations: 176.3 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3436, allocations: 8.375 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3437, allocations: 4.375 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.344, allocations: 139.8 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.344, allocations: 192 / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3441, allocations: 3.938 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3441, allocations: 0 / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.3445, allocations: 123.8 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.3451, allocations: 440.7 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.3455, allocations: 137.1 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3457, allocations: 65.73 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3457, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3458, allocations: 38.56 kB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3458, allocations: 4 kB / 1.063 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006999/0.3465, allocations: 205.4 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3465, allocations: 77.11 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3467, allocations: 141.3 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3467, allocations: 29.7 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.3468, allocations: 107.8 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3468, allocations: 19.75 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.3468, allocations: 13.72 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3469, allocations: 322.8 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3471, allocations: 55.95 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3473, allocations: 69.67 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.3477, allocations: 133.6 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3477, allocations: 0 / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004449/0.3482, allocations: 165.4 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3482, allocations: 4 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3482, allocations: 4 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3482, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3484, allocations: 27.97 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3484, allocations: 4 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3486, allocations: 39.75 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3486, allocations: 4 kB / 1.064 GB, free: 12 kB / 0.8106 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.0001083/0.3487, allocations: 113.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.3488, allocations: 11.84 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.3493, allocations: 210.2 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3493, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3494, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3494, allocations: 3.938 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.3496, allocations: 213.5 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3496, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3498, allocations: 35.97 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3498, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3498, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3499, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3499, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.3504, allocations: 342.5 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3505, allocations: 101 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3505, allocations: 4 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3507, allocations: 23.98 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3507, allocations: 15.86 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3508, allocations: 8 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.711e-05/0.3508, allocations: 112.6 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3509, allocations: 0 / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002838/0.3511, allocations: 20 kB / 1.065 GB, free: 14.7 MB / 0.8262 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.0001206/0.3513, allocations: 99.25 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3517, allocations: 139.9 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3517, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.352, allocations: 75.89 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.3525, allocations: 38.2 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.353, allocations: 285.7 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3533, allocations: 0.7004 MB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.3534, allocations: 19.44 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3534, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.003229/0.3566, allocations: 1.379 MB / 1.068 GB, free: 11.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches