Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.49 GB / 0.7958 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.61 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00258/0.353, allocations: 0.8422 MB / 1.328 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.3531, allocations: 43.72 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.3532, allocations: 4 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.3532, allocations: 7.875 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3533, allocations: 15.86 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.364e-05/0.3534, allocations: 15.98 kB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3535, allocations: 63.84 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3537, allocations: 35.97 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.3538, allocations: 31.86 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.859e-05/0.3539, allocations: 31.78 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3539, allocations: 4 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3539, allocations: 8 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.3539, allocations: 11.94 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.354, allocations: 35.73 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3541, allocations: 79.58 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3541, allocations: 0 / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3541, allocations: 0 / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3542, allocations: 0 / 1.328 GB, free: 256 kB / 1.014 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.000545/0.3547, allocations: 310 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3547, allocations: 8.031 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.3548, allocations: 8.891 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.355, allocations: 134.4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3551, allocations: 8.375 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3551, allocations: 8.375 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3553, allocations: 93.77 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3553, allocations: 192 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.3553, allocations: 11.94 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3553, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.3554, allocations: 31.98 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.356, allocations: 411.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.3561, allocations: 37.22 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.3562, allocations: 17.78 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.3562, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3562, allocations: 34.59 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3562, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.3564, allocations: 65.52 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3565, allocations: 81.11 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3566, allocations: 160 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3566, allocations: 25.7 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.3567, allocations: 112 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.3567, allocations: 7.891 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.3568, allocations: 17.72 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3569, allocations: 323.1 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.357, allocations: 8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.357, allocations: 17.72 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.357, allocations: 29.64 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.357, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.169e-05/0.3571, allocations: 57.66 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3572, allocations: 8.062 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3572, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3572, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3572, allocations: 19.92 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3572, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.3573, allocations: 3.953 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3573, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 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 0.0001054/0.3574, allocations: 113.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3574, allocations: 7.953 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.3575, allocations: 11.75 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3575, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3575, allocations: 3.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3575, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3579, allocations: 445.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3579, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.3579, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3579, allocations: 4.062 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.3579, allocations: 96 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3579, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3579, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.358, allocations: 89.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.3581, allocations: 11.91 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3581, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.3581, allocations: 4.031 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3581, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3581, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3582, allocations: 128.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3582, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001819/0.3584, allocations: 8 kB / 1.331 GB, free: 13.09 MB / 1.029 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.0001144/0.3585, allocations: 99.22 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.747e-05/0.3586, allocations: 23.94 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3586, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.3586, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.3588, allocations: 21.33 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3592, allocations: 184.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3595, allocations: 0.6926 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.3595, allocations: 11.44 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3595, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Templates: time 0.00249/0.362, allocations: 0.8715 MB / 1.333 GB, free: 11.11 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.95666430098936]