Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001126/0.001126, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001592/0.001592, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.736/2.736, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 12 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8351, allocations: 142.4 MB / 0.9544 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001088/0.8363, allocations: 0.5154 MB / 0.9549 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.8364, allocations: 41.34 kB / 0.955 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.8365, allocations: 1.375 kB / 0.955 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.8365, allocations: 7.922 kB / 0.955 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.8366, allocations: 1.062 kB / 0.955 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.331e-05/0.8366, allocations: 15.98 kB / 0.955 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.8368, allocations: 53.14 kB / 0.9551 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8369, allocations: 34.67 kB / 0.9551 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.837, allocations: 18.91 kB / 0.9551 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.8371, allocations: 23.98 kB / 0.9551 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.8371, allocations: 1.438 kB / 0.9551 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.8371, allocations: 1.406 kB / 0.9551 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.8372, allocations: 10.61 kB / 0.9551 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.8372, allocations: 36.2 kB / 0.9552 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.079e-05/0.8373, allocations: 50.12 kB / 0.9552 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8373, allocations: 1.094 kB / 0.9552 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8373, allocations: 0 / 0.9552 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8373, allocations: 4 kB / 0.9552 GB, free: 7.293 MB / 0.7169 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.0003239/0.8377, allocations: 375.8 kB / 0.9556 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.8377, allocations: 9.438 kB / 0.9556 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.8378, allocations: 16.67 kB / 0.9556 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.838, allocations: 189.2 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.838, allocations: 7.781 kB / 0.9558 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.838, allocations: 4.562 kB / 0.9558 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.8382, allocations: 101.2 kB / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8382, allocations: 1.531 kB / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8382, allocations: 0 / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8382, allocations: 2.812 kB / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.8383, allocations: 38.66 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.8387, allocations: 441.9 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.8388, allocations: 36.94 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.8388, allocations: 19.16 kB / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.8388, allocations: 5.062 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.8388, allocations: 36.06 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8389, allocations: 0 / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.839, allocations: 54.16 kB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8391, allocations: 78.08 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.8392, allocations: 164.4 kB / 0.9567 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.8392, allocations: 26.73 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.8393, allocations: 103.8 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.8393, allocations: 13.39 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.8393, allocations: 8 kB / 0.9569 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.8393, allocations: 317.7 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.8393, allocations: 6.312 kB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.8394, allocations: 22.61 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.8394, allocations: 5.625 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8394, allocations: 0 / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.424e-05/0.8395, allocations: 66.16 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8395, allocations: 6 kB / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.8395, allocations: 0 / 0.9573 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8395, allocations: 5.062 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.8396, allocations: 5.781 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8396, allocations: 0.9062 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.8397, allocations: 5.969 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.8397, allocations: 1.156 kB / 0.9573 GB, free: 5.172 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.8397, allocations: 121.9 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.8398, allocations: 11.81 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.8398, allocations: 14.95 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8398, allocations: 0 / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8398, allocations: 1 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8398, allocations: 1.062 kB / 0.9575 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.8401, allocations: 469.6 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8401, allocations: 1 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.8401, allocations: 7.5 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8401, allocations: 1.125 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.8401, allocations: 0 / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8402, allocations: 1.031 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8402, allocations: 1.125 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.406e-05/0.8402, allocations: 82.28 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.8403, allocations: 92.16 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8403, allocations: 5 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.8403, allocations: 0 / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.8403, allocations: 5.188 kB / 0.9581 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.8403, allocations: 5.219 kB / 0.9581 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.8404, allocations: 120 kB / 0.9582 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8404, allocations: 1.094 kB / 0.9582 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001916/0.8406, allocations: 15.02 kB / 0.9582 GB, free: 4.215 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.8407, allocations: 104.7 kB / 0.9583 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.8408, allocations: 13.97 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8408, allocations: 0 / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.8408, allocations: 12.27 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.841, allocations: 9.828 kB / 0.9584 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.8413, allocations: 182.6 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.8414, allocations: 0.6908 MB / 0.9592 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.8415, allocations: 12.12 kB / 0.9592 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.8415, allocations: 11.56 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8415, allocations: 4 kB / 0.9592 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002366/0.8439, allocations: 418 kB / 0.9596 GB, free: 2.984 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches