Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001515/0.001515, allocations: 102 kB / 16.4 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.001687/0.001687, 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9537, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001908/0.9557, allocations: 0.8271 MB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.9558, allocations: 38.11 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.9559, allocations: 5.188 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.9559, allocations: 5.25 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.956, allocations: 10.38 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.9561, allocations: 19.83 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.9562, allocations: 62.86 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.9564, allocations: 46.11 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.9564, allocations: 22.36 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.9565, allocations: 34.64 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.9565, allocations: 5.75 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.9566, allocations: 5.438 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.9566, allocations: 16.55 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.9566, allocations: 33.05 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.9568, allocations: 75.03 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9568, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9568, allocations: 4 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.9568, allocations: 1.125 kB / 1.09 GB, free: 4.77 MB / 0.8575 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.0003637/0.9572, allocations: 374.3 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9572, allocations: 8.875 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.9572, allocations: 13.97 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.9574, allocations: 197 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.9574, allocations: 7.406 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9574, allocations: 9.188 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.9576, allocations: 94.55 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.9576, allocations: 1.281 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9576, allocations: 3.938 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.9576, allocations: 2.531 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.9577, allocations: 40.41 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.9582, allocations: 429.8 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.9583, allocations: 53.69 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.9583, allocations: 17 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.9583, allocations: 1.125 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.9583, allocations: 40.08 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9583, allocations: 4 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.9585, allocations: 56.28 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.9585, allocations: 78.97 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.9587, allocations: 161.2 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.9587, allocations: 27.17 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.9587, allocations: 103.2 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.9588, allocations: 5.766 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.9588, allocations: 22.89 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.9588, allocations: 319.1 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.9589, allocations: 4.25 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.9589, allocations: 32.78 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.9589, allocations: 22.7 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9589, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.614e-05/0.959, allocations: 66.2 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.959, allocations: 4.812 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.959, allocations: 5.031 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9591, allocations: 1.062 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.9591, allocations: 5.969 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9591, allocations: 1.844 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.9592, allocations: 5.75 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.9592, allocations: 2.031 kB / 1.092 GB, free: 2.699 MB / 0.8575 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 5.393e-05/0.9592, allocations: 118 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.9593, allocations: 8.344 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.9593, allocations: 16.23 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.9593, allocations: 0.9688 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9593, allocations: 1.312 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.9593, allocations: 1.969 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.9596, allocations: 474 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9597, allocations: 64 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.9597, allocations: 8.359 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.9597, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.9597, allocations: 1.453 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-06/0.9597, allocations: 5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9597, allocations: 1.781 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.86e-05/0.9598, allocations: 79.98 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.9598, allocations: 94.78 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.9598, allocations: 5.688 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.9599, allocations: 0.9688 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.9599, allocations: 5.656 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.9599, allocations: 1.094 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.96, allocations: 118.5 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.81e-07/0.96, allocations: 0 / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001998/0.9602, allocations: 7.688 kB / 1.093 GB, free: 1.777 MB / 0.8575 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 9.305e-05/0.9603, allocations: 107.6 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.9604, allocations: 19.69 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9604, allocations: 1.312 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.9604, allocations: 11.88 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.9606, allocations: 9.953 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.9609, allocations: 190.1 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.961, allocations: 0.6972 MB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.9611, allocations: 12.06 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9611, allocations: 0 / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.002567/0.9636, allocations: 0.8679 MB / 1.095 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches