Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008885/0.008885, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001561/0.001561, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 72.12 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.914, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002057/0.9161, allocations: 0.8291 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.9162, allocations: 43.78 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.9163, allocations: 4 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.9164, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.9165, allocations: 7.875 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.175e-05/0.9166, allocations: 19.98 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.9167, allocations: 67.77 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.917, allocations: 47.92 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.9171, allocations: 19.92 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.9172, allocations: 27.8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.9172, allocations: 8 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.9172, allocations: 4 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.9172, allocations: 19.92 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.9173, allocations: 39.8 kB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.9175, allocations: 71.64 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9175, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9175, allocations: 4 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.9175, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 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.0005361/0.9181, allocations: 380.8 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.9181, allocations: 12.03 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.9182, allocations: 8.844 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.9184, allocations: 204 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.9184, allocations: 8.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.9185, allocations: 8.312 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.9187, allocations: 95.95 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9187, allocations: 192 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.9187, allocations: 3.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.9187, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.9188, allocations: 39.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.9194, allocations: 436.6 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.9195, allocations: 45.31 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.9195, allocations: 17.72 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.9196, allocations: 0 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.9196, allocations: 34.56 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9196, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.9198, allocations: 57.47 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.9199, allocations: 77.11 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.9201, allocations: 160.7 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.9201, allocations: 25.7 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.9202, allocations: 104 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.9202, allocations: 7.906 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.9203, allocations: 17.97 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9204, allocations: 322.8 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.9204, allocations: 4 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.9205, allocations: 21.66 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.9205, allocations: 21.72 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9205, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.623e-05/0.9206, allocations: 69.53 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9206, allocations: 4 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9207, allocations: 3.938 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9207, allocations: 0 / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.9207, allocations: 8 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.9208, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.9208, allocations: 11.84 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.9208, allocations: 0 / 1.211 GB, free: 9.965 MB / 0.9356 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 9.288e-05/0.9209, allocations: 121.9 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.921, allocations: 7.906 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.921, allocations: 15.81 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.921, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.921, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.921, allocations: 96 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.9215, allocations: 470.8 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9215, allocations: 8.062 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.9215, allocations: 11.92 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.9215, allocations: 3.938 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.9215, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9215, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9215, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.243e-05/0.9216, allocations: 73.84 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.9217, allocations: 96.97 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.9217, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.9218, allocations: 4 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.9218, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.9218, allocations: 4 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.9219, allocations: 121.1 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9219, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001867/0.9221, allocations: 7.906 kB / 1.212 GB, free: 8.914 MB / 0.9356 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.0001739/0.9223, allocations: 111.2 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.9224, allocations: 12 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9224, allocations: 0 / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.9224, allocations: 11.94 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.9225, allocations: 9.812 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.9229, allocations: 166.8 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.9232, allocations: 0.6965 MB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.9232, allocations: 8.422 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.9233, allocations: 11.44 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9233, allocations: 0 / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.002403/0.9257, allocations: 468.5 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches