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.001322/0.001322, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001255/0.001255, allocations: 187 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8141, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002005/0.8162, allocations: 0.827 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.8163, allocations: 43.78 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.8164, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.009e-05/0.8164, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.8165, allocations: 11.88 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.108e-05/0.8166, allocations: 19.97 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.8167, allocations: 63.78 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.8169, allocations: 43.92 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.8169, allocations: 23.92 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.817, allocations: 31.78 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.817, allocations: 8 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.817, allocations: 4 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.8171, allocations: 19.92 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.8171, allocations: 31.81 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.8172, allocations: 79.62 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8172, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8172, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8172, allocations: 0 / 1.21 GB, free: 12.4 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.0004121/0.8176, allocations: 380.8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8177, allocations: 15.97 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.8177, allocations: 8.844 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.8179, allocations: 196.1 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.818, allocations: 12.38 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.818, allocations: 12.36 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.8181, allocations: 89.67 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8181, allocations: 192 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8182, allocations: 7.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8182, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.8183, allocations: 39.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.8188, allocations: 436.6 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.8188, allocations: 37.31 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.8189, allocations: 21.72 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.8189, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.8189, allocations: 34.56 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8189, allocations: 4 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.8191, allocations: 57.47 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.8192, allocations: 81.11 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.8193, allocations: 156.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.8193, allocations: 25.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.8194, allocations: 108.2 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.8194, allocations: 11.89 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.8195, allocations: 17.72 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8196, allocations: 322.8 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.8196, allocations: 4 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.8196, allocations: 21.66 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.8197, allocations: 25.72 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8197, allocations: 4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.262e-05/0.8198, allocations: 65.53 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8198, allocations: 4 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8198, allocations: 3.938 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8198, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.8199, allocations: 8 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8199, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.82, allocations: 11.89 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.82, allocations: 0 / 1.212 GB, free: 9.961 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 7e-05/0.82, allocations: 121.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.8201, allocations: 7.906 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.8201, allocations: 15.81 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8201, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.8201, allocations: 3.938 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8201, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.8205, allocations: 474.8 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8205, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.8206, allocations: 4 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8206, allocations: 3.938 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.8206, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8206, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8206, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.951e-05/0.8207, allocations: 85.89 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.8207, allocations: 88.95 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.8208, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.8208, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.8208, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.8208, allocations: 4 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.8209, allocations: 125.1 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8209, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001851/0.8211, allocations: 7.906 kB / 1.213 GB, free: 8.918 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.0001111/0.8212, allocations: 111.2 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.8213, allocations: 12 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8213, allocations: 4 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.8213, allocations: 7.938 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.8215, allocations: 7.938 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.8218, allocations: 196.7 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.822, allocations: 0.6885 MB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.8221, allocations: 11.44 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8221, allocations: 0 / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.002153/0.8242, allocations: 0.8789 MB / 1.215 GB, free: 6.934 MB / 0.9356 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