Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001231/0.001231, allocations: 192.2 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7749, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002049/0.777, allocations: 0.8275 MB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.7771, allocations: 51.72 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.7772, allocations: 0 / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.7773, allocations: 11.86 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.7774, allocations: 7.875 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.52e-05/0.7774, allocations: 19.98 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7775, allocations: 59.84 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.7777, allocations: 39.98 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.7777, allocations: 23.92 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.7778, allocations: 31.78 kB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.7778, allocations: 8 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.7778, allocations: 4 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.7779, allocations: 23.86 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.7779, allocations: 35.8 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.778, allocations: 67.72 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.778, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.778, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.778, allocations: 3.938 kB / 1.168 GB, free: 2.652 MB / 0.8887 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.000438/0.7785, allocations: 384.8 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7785, allocations: 8.922 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.7786, allocations: 12.84 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.7788, allocations: 204 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.7788, allocations: 8.375 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.7788, allocations: 8.375 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.779, allocations: 92.88 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.779, allocations: 8.125 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.779, allocations: 7.938 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.779, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.7791, allocations: 35.98 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.7797, allocations: 432.7 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.7797, allocations: 45.09 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.7798, allocations: 17.84 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.7798, allocations: 7.984 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.7798, allocations: 38.5 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7798, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.78, allocations: 53.55 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.7801, allocations: 81.05 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.7802, allocations: 156.9 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7802, allocations: 29.95 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.7803, allocations: 108 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.7803, allocations: 3.906 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.7803, allocations: 17.72 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7805, allocations: 322.8 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.7805, allocations: 0 / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.7805, allocations: 25.7 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.7806, allocations: 25.72 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7806, allocations: 0 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.994e-05/0.7806, allocations: 57.55 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7807, allocations: 8 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.7807, allocations: 7.922 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7807, allocations: 0 / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.7808, allocations: 4 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.7808, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.7808, allocations: 7.906 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7808, allocations: 8 kB / 1.171 GB, free: 220 kB / 0.8887 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 6.91e-05/0.7809, allocations: 109.8 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.7809, allocations: 11.94 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.781, allocations: 31.72 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.781, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.781, allocations: 4 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.781, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.7814, allocations: 474.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7814, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.7815, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7815, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.7815, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7815, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7815, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.7816, allocations: 93.83 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.7816, allocations: 84.95 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.7817, allocations: 7.984 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.7817, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.7817, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.7817, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.928e-05/0.7818, allocations: 121.9 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7818, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001867/0.782, allocations: 15.94 kB / 1.172 GB, free: 15.15 MB / 0.9044 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.0001049/0.7821, allocations: 99.25 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.7822, allocations: 15.94 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7822, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.7822, allocations: 7.984 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.7824, allocations: 11.94 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.7827, allocations: 188.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.783, allocations: 0.6963 MB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.783, allocations: 11.44 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.783, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.002046/0.7851, allocations: 0.8599 MB / 1.173 GB, free: 13.19 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches