Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.002286/0.002286, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.002446/0.002446, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.991/2.991, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.995e-05, allocations: 2.281 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002206/0.002236, allocations: 0.785 MB / 1.001 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.002381, allocations: 47.72 kB / 1.001 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.002443, allocations: 4 kB / 1.001 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.002483, allocations: 7.875 kB / 1.001 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.002595, allocations: 7.938 kB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.287e-05/0.002648, allocations: 19.97 kB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.002803, allocations: 71.7 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.002956, allocations: 27.92 kB / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.003048, allocations: 39.89 kB / 1.001 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.003124, allocations: 19.92 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.003145, allocations: 4 kB / 1.001 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.003158, allocations: 8 kB / 1.001 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.003182, allocations: 11.92 kB / 1.001 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.003224, allocations: 31.91 kB / 1.001 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003358, allocations: 67.77 kB / 1.001 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.00336, allocations: 0 / 1.001 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003361, allocations: 0 / 1.001 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.003368, allocations: 0 / 1.001 GB, free: 6.098 MB / 0.9512 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.0005689/0.003937, allocations: 306 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.00398, allocations: 8.031 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.004027, allocations: 8.891 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.004282, allocations: 137.5 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.0043, allocations: 12.31 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.004318, allocations: 12.38 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.0045, allocations: 90.2 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.004512, allocations: 4.125 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.004529, allocations: 8.375 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004534, allocations: 384 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.004626, allocations: 39.91 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.00521, allocations: 356.5 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.005283, allocations: 37.14 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.005327, allocations: 25.84 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.005334, allocations: 0 / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.005375, allocations: 34.5 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005376, allocations: 4 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/0.005564, allocations: 45.66 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.00563, allocations: 85.03 kB / 1.002 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.005777, allocations: 134.5 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.005795, allocations: 25.7 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.005885, allocations: 107.9 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.005898, allocations: 12.19 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.005946, allocations: 17.72 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.006115, allocations: 318.8 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.006133, allocations: 4 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.006173, allocations: 21.7 kB / 1.003 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.006223, allocations: 25.72 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006225, allocations: 3.938 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.006332, allocations: 53.64 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.006348, allocations: 8 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006353, allocations: 4.062 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.00637, allocations: 0 / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.006446, allocations: 8 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.006457, allocations: 7.875 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.006484, allocations: 3.938 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.006488, allocations: 0 / 1.003 GB, free: 3.957 MB / 0.9512 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.0001009/0.006589, allocations: 114.4 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.006638, allocations: 7.953 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.006662, allocations: 15.45 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006664, allocations: 4.031 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.00667, allocations: 8 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.006677, allocations: 7.922 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.00708, allocations: 414.4 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007082, allocations: 0 / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.007102, allocations: 4 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007104, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.007113, allocations: 3.938 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.007117, allocations: 4 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007118, allocations: 0 / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.007227, allocations: 81.94 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.007247, allocations: 4 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.00726, allocations: 3.938 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.007277, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.007291, allocations: 4 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007295, allocations: 4 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.007367, allocations: 97.64 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.007367, allocations: 0 / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001905/0.007557, allocations: 11.95 kB / 1.004 GB, free: 3.109 MB / 0.9512 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.000117/0.007674, allocations: 99.23 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.563e-05/0.00776, allocations: 23.97 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007763, allocations: 0 / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.007774, allocations: 4 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.007934, allocations: 4 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.008411, allocations: 166.5 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.008508, allocations: 75.58 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.008544, allocations: 7.984 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.00858, allocations: 12.5 kB / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/0.008581, allocations: 0 / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.003256/0.01184, allocations: 336.3 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.541694808751345]