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.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.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.001476/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001713/0.001713, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.451/2.451, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8172, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00226/0.8196, allocations: 0.8865 MB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001177/0.8197, allocations: 41.06 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.8198, allocations: 4.969 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.8198, allocations: 9.141 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.8199, allocations: 3.938 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.366e-05/0.82, allocations: 19.98 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.8201, allocations: 52.14 kB / 0.9501 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.8203, allocations: 52.67 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.8203, allocations: 23.09 kB / 0.9502 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.8204, allocations: 36.91 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.8204, allocations: 5.5 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.8205, allocations: 6.188 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.8205, allocations: 15.38 kB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.8205, allocations: 38.53 kB / 0.9503 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8207, allocations: 69.53 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8207, allocations: 1.906 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.857e-06/0.8207, allocations: 0 / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8207, allocations: 0 / 0.9503 GB, free: 8.242 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.0004475/0.8211, allocations: 377.8 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8212, allocations: 8.844 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.8212, allocations: 10 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.8214, allocations: 194.6 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.8214, allocations: 7.812 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.8215, allocations: 5.219 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.8216, allocations: 93.34 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8217, allocations: 4.125 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.8217, allocations: 5.188 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8217, allocations: 2.312 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.8218, allocations: 35.02 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.8223, allocations: 437.1 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.8224, allocations: 41.25 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.8224, allocations: 27.77 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.8224, allocations: 1.719 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.8225, allocations: 34.5 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.8225, allocations: 0 / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.8227, allocations: 51.98 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8227, allocations: 81.05 kB / 0.9517 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.8228, allocations: 167.8 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.8229, allocations: 27.05 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.8229, allocations: 111.5 kB / 0.952 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.8229, allocations: 5.094 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.823, allocations: 21.83 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.823, allocations: 317.2 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.8231, allocations: 2.469 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.8231, allocations: 23.7 kB / 0.9523 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.8231, allocations: 26.38 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8231, allocations: 0 / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.184e-05/0.8232, allocations: 66.28 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8233, allocations: 7.625 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8233, allocations: 5.312 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8233, allocations: 3.984 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.8234, allocations: 5.562 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.8234, allocations: 5.375 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.8234, allocations: 2.75 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.8235, allocations: 5.312 kB / 0.9524 GB, free: 6.074 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.8235, allocations: 112.6 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.8236, allocations: 8.031 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.8236, allocations: 18.55 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8236, allocations: 1.375 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.8236, allocations: 5.375 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8237, allocations: 4 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.824, allocations: 473.7 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.824, allocations: 1.188 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.824, allocations: 3.094 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.824, allocations: 1.156 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.824, allocations: 0 / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.824, allocations: 1.125 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.824, allocations: 1.156 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.922e-05/0.8241, allocations: 85.95 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.8242, allocations: 92.38 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.8242, allocations: 5.094 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.8242, allocations: 0 / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.8242, allocations: 2.188 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.8243, allocations: 5.031 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.8243, allocations: 123.9 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8244, allocations: 0 / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001908/0.8246, allocations: 7.812 kB / 0.9534 GB, free: 5.121 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 (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.0001477/0.8247, allocations: 96.84 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.8248, allocations: 22.48 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8248, allocations: 0 / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.8249, allocations: 12.28 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.825, allocations: 9.5 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.8254, allocations: 176.2 kB / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.8256, allocations: 0.702 MB / 0.9543 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.8257, allocations: 4.281 kB / 0.9544 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.8257, allocations: 11.91 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.8257, allocations: 0 / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.003051/0.8288, allocations: 455.9 kB / 0.9548 GB, free: 3.887 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