Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 109.3 kB / 16.27 MB, free: 5.984 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.001901/0.001901, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 65.16 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3338, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002277/0.3362, allocations: 0.8291 MB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.3363, allocations: 39.78 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.3364, allocations: 4 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.518e-05/0.3364, allocations: 11.86 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.3365, allocations: 7.875 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.947e-05/0.3366, allocations: 19.98 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.3367, allocations: 59.84 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3368, allocations: 39.97 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.3369, allocations: 27.86 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.337, allocations: 31.78 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.337, allocations: 8 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.337, allocations: 4 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.337, allocations: 19.92 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3371, allocations: 35.75 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3372, allocations: 68.03 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3372, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3372, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3372, allocations: 0 / 1.065 GB, free: 13.79 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.0004628/0.3377, allocations: 379.2 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.3377, allocations: 11.97 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3378, allocations: 12.75 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.338, allocations: 200.1 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.338, allocations: 4.375 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.338, allocations: 12.36 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3382, allocations: 91.95 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3382, allocations: 192 / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3382, allocations: 7.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3382, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.3383, allocations: 39.92 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.3388, allocations: 436.6 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/0.3389, allocations: 41.19 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.339, allocations: 17.84 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.339, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.339, allocations: 38.56 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.339, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.3392, allocations: 61.47 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3393, allocations: 77.11 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3394, allocations: 164.1 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3394, allocations: 25.7 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.3395, allocations: 99.98 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.3395, allocations: 12.14 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3396, allocations: 17.72 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3397, allocations: 322.8 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.3397, allocations: 3.938 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.3398, allocations: 21.72 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.3398, allocations: 21.72 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3398, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.02e-05/0.3399, allocations: 61.53 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3399, allocations: 8 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.34, allocations: 3.938 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.34, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.34, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3401, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.3401, allocations: 7.844 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3401, allocations: 4 kB / 1.068 GB, free: 11.35 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.871e-05/0.3402, allocations: 117.9 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.3402, allocations: 11.84 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.3403, allocations: 15.81 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3403, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3403, allocations: 7.938 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3403, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.3407, allocations: 474.8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3407, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.3407, allocations: 11.92 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3407, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3408, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3408, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3408, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.3409, allocations: 81.91 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3409, allocations: 89 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3409, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.341, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.341, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.341, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.638e-05/0.3411, allocations: 121.5 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3411, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001939/0.3413, allocations: 11.94 kB / 1.068 GB, free: 10.3 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.0001193/0.3414, allocations: 103.9 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.3415, allocations: 16 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3415, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.3416, allocations: 7.938 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3417, allocations: 17.95 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.3421, allocations: 192.8 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3424, allocations: 0.6931 MB / 1.069 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.3424, allocations: 11.44 kB / 1.069 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.3424, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.002334/0.3448, allocations: 0.855 MB / 1.07 GB, free: 8.34 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches