Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001313/0.001313, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001738/0.001738, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 68.11 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.812, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002411/0.8145, allocations: 0.8231 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.8146, allocations: 39.84 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.8147, allocations: 0 / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.8148, allocations: 7.875 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.271e-05/0.8149, allocations: 11.86 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.284e-05/0.8149, allocations: 19.98 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.8151, allocations: 59.84 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.8152, allocations: 51.84 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.8153, allocations: 27.86 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.8154, allocations: 27.84 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.8154, allocations: 8 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.8154, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.8155, allocations: 15.94 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.8155, allocations: 39.8 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.8157, allocations: 67.64 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8157, allocations: 8 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8157, allocations: 0 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.8157, allocations: 0 / 1.21 GB, free: 12.42 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.0004929/0.8162, allocations: 384.8 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8162, allocations: 12.03 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.8163, allocations: 12.78 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.8165, allocations: 188.2 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.8166, allocations: 8.312 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.8166, allocations: 8.375 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8168, allocations: 101.8 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.8168, allocations: 192 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8168, allocations: 7.875 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8168, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.8169, allocations: 43.91 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.8175, allocations: 436.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.8176, allocations: 41.31 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.8176, allocations: 21.7 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.8177, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8177, allocations: 38.56 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.8177, allocations: 4 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.8179, allocations: 53.48 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.818, allocations: 77.11 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.8181, allocations: 160.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.8182, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.8182, allocations: 104 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.8182, allocations: 4.156 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.8183, allocations: 21.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8185, allocations: 322.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.8185, allocations: 4 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.8185, allocations: 25.64 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.8186, allocations: 21.72 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8186, allocations: 4 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.425e-05/0.8187, allocations: 61.55 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.8187, allocations: 7.984 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8187, allocations: 3.938 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8188, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.8188, allocations: 8 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8188, allocations: 3.938 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.8189, allocations: 7.906 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.8189, allocations: 0 / 1.212 GB, free: 9.98 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 8.437e-05/0.819, allocations: 117.9 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.819, allocations: 7.906 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.8191, allocations: 19.8 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8191, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8191, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8191, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.8195, allocations: 466.8 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8195, allocations: 4.062 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.8196, allocations: 4 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8196, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.8196, allocations: 3.938 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8196, allocations: 7.938 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8196, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.043e-05/0.8197, allocations: 85.83 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.8198, allocations: 96.94 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.8198, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.8198, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.8199, allocations: 4 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.8199, allocations: 4 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.82, allocations: 121.3 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.82, allocations: 0 / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001948/0.8202, allocations: 7.906 kB / 1.213 GB, free: 8.934 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.0001354/0.8203, allocations: 107.2 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.8204, allocations: 12 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8204, allocations: 4 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.8204, allocations: 11.92 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.8206, allocations: 7.938 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.8209, allocations: 188.7 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.8212, allocations: 0.6963 MB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.8213, allocations: 11.44 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8213, allocations: 0 / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.002352/0.8236, allocations: 0.8673 MB / 1.215 GB, free: 6.961 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches