Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 116.7 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 151.6 MB / 1.176 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002173/0.3421, allocations: 0.8281 MB / 1.177 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001249/0.3422, allocations: 59.72 kB / 1.177 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.3423, allocations: 0 / 1.177 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.3423, allocations: 11.86 kB / 1.177 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.3424, allocations: 7.875 kB / 1.177 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.801e-05/0.3425, allocations: 15.98 kB / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3426, allocations: 63.84 kB / 1.177 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3428, allocations: 47.95 kB / 1.177 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.3428, allocations: 19.94 kB / 1.177 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.3429, allocations: 35.72 kB / 1.177 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.3429, allocations: 8 kB / 1.177 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.3429, allocations: 4 kB / 1.177 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.343, allocations: 15.94 kB / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.343, allocations: 27.8 kB / 1.177 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3431, allocations: 79.58 kB / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3431, allocations: 0 / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3431, allocations: 0 / 1.177 GB, free: 4.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3432, allocations: 4 kB / 1.177 GB, free: 4.613 MB / 0.92 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.0004722/0.3436, allocations: 387 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3437, allocations: 8.031 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3437, allocations: 12.84 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3439, allocations: 192.2 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.344, allocations: 8.375 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.344, allocations: 8.375 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3441, allocations: 95.88 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3442, allocations: 4.188 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3442, allocations: 7.938 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3442, allocations: 0 / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.3443, allocations: 31.98 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3449, allocations: 440.7 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.345, allocations: 37.16 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.345, allocations: 25.83 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.345, allocations: 4.031 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3451, allocations: 30.56 kB / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3451, allocations: 0 / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001641/0.3452, allocations: 61.53 kB / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3453, allocations: 77.11 kB / 1.178 GB, free: 3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3455, allocations: 161.1 kB / 1.179 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3455, allocations: 25.7 kB / 1.179 GB, free: 2.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.3456, allocations: 108 kB / 1.179 GB, free: 2.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.3456, allocations: 7.891 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.3456, allocations: 17.95 kB / 1.179 GB, free: 2.664 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3458, allocations: 322.8 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.3458, allocations: 4 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.3458, allocations: 21.7 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.3459, allocations: 29.66 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3459, allocations: 0 / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.629e-05/0.346, allocations: 61.59 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.346, allocations: 8 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.346, allocations: 3.938 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.346, allocations: 0 / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.3461, allocations: 11.94 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3461, allocations: 4 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.3461, allocations: 7.938 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3461, allocations: 4.094 kB / 1.179 GB, free: 2.168 MB / 0.92 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.557e-05/0.3462, allocations: 109.8 kB / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3463, allocations: 16 kB / 1.179 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3463, allocations: 15.8 kB / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3463, allocations: 0 / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3463, allocations: 4 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3463, allocations: 0 / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.3468, allocations: 474.7 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3468, allocations: 0 / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.3468, allocations: 4.062 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3468, allocations: 4 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.3469, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3469, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3469, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.347, allocations: 85.81 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.347, allocations: 92.98 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3471, allocations: 8.031 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.3471, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.3471, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3471, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.488e-05/0.3472, allocations: 119.2 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3472, allocations: 0 / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001826/0.3474, allocations: 12 kB / 1.18 GB, free: 1.125 MB / 0.92 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.0001272/0.3475, allocations: 99.25 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.3476, allocations: 27.92 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3476, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.3477, allocations: 4 kB / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.3478, allocations: 15.88 kB / 1.18 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.3482, allocations: 184.2 kB / 1.18 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3485, allocations: 0.7043 MB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3485, allocations: 11.44 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3485, allocations: 0 / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of Templates: time 0.002515/0.3511, allocations: 0.8676 MB / 1.182 GB, free: 15.14 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.12207894702442]