Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 105 kB / 15.98 MB, free: 6.352 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.001251/0.001251, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 70.22 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2947, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001981/0.2967, allocations: 0.8903 MB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001022/0.2968, allocations: 43.78 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.2969, allocations: 4 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.2969, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.297, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.246e-05/0.297, allocations: 19.98 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2971, allocations: 63.84 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2973, allocations: 35.97 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.2973, allocations: 35.78 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.2974, allocations: 23.86 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2974, allocations: 12 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.2974, allocations: 4 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.2975, allocations: 19.92 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.2975, allocations: 35.75 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.656e-05/0.2976, allocations: 48.17 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2976, allocations: 4 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2976, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2976, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004354/0.298, allocations: 379.2 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.2981, allocations: 12.03 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.2981, allocations: 12.75 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.2983, allocations: 192.2 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2984, allocations: 8.359 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.2984, allocations: 12.38 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2985, allocations: 87.89 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2986, allocations: 192 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2986, allocations: 7.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2986, allocations: 7.984 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.2987, allocations: 43.92 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.2992, allocations: 432.5 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.2993, allocations: 33.22 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.2993, allocations: 25.77 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.2993, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2993, allocations: 38.59 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.2994, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.2995, allocations: 53.48 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.2996, allocations: 89.34 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2997, allocations: 156.3 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2997, allocations: 25.7 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.2998, allocations: 112 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.2998, allocations: 3.906 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2999, allocations: 25.64 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3, allocations: 310.8 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.3, allocations: 11.98 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.3001, allocations: 21.72 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.3001, allocations: 29.66 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3001, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.777e-05/0.3002, allocations: 53.59 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3002, allocations: 4 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3002, allocations: 3.938 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.3003, allocations: 8.062 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.3003, allocations: 8 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3003, allocations: 3.938 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3004, allocations: 15.84 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.3004, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 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 (4): * Single equations (assignments): 4 * 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 7.816e-05/0.3005, allocations: 114.5 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3005, allocations: 7.906 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3005, allocations: 15.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3005, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3005, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.3006, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.301, allocations: 474.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.301, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.301, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.301, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.301, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.301, allocations: 64 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.301, allocations: 7.984 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.319e-05/0.3011, allocations: 85.72 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3012, allocations: 89 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.3012, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.3013, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.3013, allocations: 4.031 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3013, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.065e-05/0.3014, allocations: 122.3 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3014, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001825/0.3016, allocations: 12 kB / 1.068 GB, free: 10.41 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.0001073/0.3017, allocations: 99.19 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.3018, allocations: 23.92 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3018, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.3018, allocations: 8.125 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3019, allocations: 11.94 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.3023, allocations: 204.7 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3026, allocations: 0.7002 MB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.3026, allocations: 11.44 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3026, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.002209/0.3048, allocations: 0.856 MB / 1.07 GB, free: 8.426 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches