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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.0017, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.553/1.553, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001809, allocations: 64.89 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4175, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002514/0.4201, allocations: 0.8163 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4214, allocations: 0.8702 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.4215, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.4215, allocations: 7.938 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4216, allocations: 15.84 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4219, allocations: 35.97 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.422, allocations: 95.69 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.4222, allocations: 23.98 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.4223, allocations: 31.86 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.4224, allocations: 47.81 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.4225, allocations: 7.938 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.4225, allocations: 4 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.4225, allocations: 19.97 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.4226, allocations: 31.8 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.4227, allocations: 91.94 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4228, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4228, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4228, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 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.0008249/0.4236, allocations: 407.2 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4237, allocations: 8.031 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.4237, allocations: 8.844 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4239, allocations: 176.3 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4239, allocations: 8.375 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.424, allocations: 8.359 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.4243, allocations: 123.8 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4243, allocations: 4.188 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.4244, allocations: 3.938 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4244, allocations: 4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.4248, allocations: 103.9 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.4256, allocations: 444.6 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.426, allocations: 113.1 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.4262, allocations: 65.73 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4262, allocations: 3.938 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4263, allocations: 34.55 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.4263, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006715/0.427, allocations: 177.4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.427, allocations: 81.11 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.4272, allocations: 135.5 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4272, allocations: 25.7 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.4273, allocations: 99.98 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.4273, allocations: 19.7 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.4274, allocations: 25.7 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4276, allocations: 322.8 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.4278, allocations: 43.95 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.4279, allocations: 65.59 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.4283, allocations: 105.6 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4283, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004099/0.4287, allocations: 149.7 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4288, allocations: 4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4288, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4288, allocations: 8.094 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.429, allocations: 27.95 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.429, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4292, allocations: 27.77 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4292, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 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 9.415e-05/0.4293, allocations: 121.8 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.4293, allocations: 7.906 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4299, allocations: 169.8 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4299, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4299, allocations: 3.938 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4299, allocations: 7.938 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.4302, allocations: 217.5 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4302, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4304, allocations: 27.97 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4304, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4304, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4304, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4304, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.4309, allocations: 338.5 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.431, allocations: 93 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.431, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4312, allocations: 15.98 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.4313, allocations: 15.92 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4313, allocations: 8 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.4314, allocations: 121.4 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.4314, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002716/0.4317, allocations: 16 kB / 1.073 GB, free: 4.473 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.0001556/0.4318, allocations: 99.25 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.4322, allocations: 119.8 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4323, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.4325, allocations: 63.89 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.433, allocations: 23.84 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.4337, allocations: 269 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.434, allocations: 0.7043 MB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.415e-05/0.4341, allocations: 16.88 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.4341, allocations: 15.42 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.4342, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.004956/0.4391, allocations: 1.603 MB / 1.076 GB, free: 1.531 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/jenkins/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