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.001845/0.001845, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002554/0.002554, allocations: 161.6 kB / 23.01 MB, free: 4.945 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.983/2.983, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002057/0.002057, allocations: 70.25 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00199/1.101, allocations: 0.7978 MB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/1.101, allocations: 45.14 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/1.101, allocations: 1.375 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/1.101, allocations: 9.094 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/1.101, allocations: 10.38 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.75e-05/1.101, allocations: 23.95 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/1.101, allocations: 59.41 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/1.101, allocations: 36.08 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/1.101, allocations: 26.94 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/1.101, allocations: 25.38 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/1.102, allocations: 10.81 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/1.102, allocations: 9.438 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/1.102, allocations: 17.36 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/1.102, allocations: 20.77 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/1.102, allocations: 74.19 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.102, allocations: 2.125 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.664e-06/1.102, allocations: 4 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.102, allocations: 0 / 1.188 GB, free: 15.51 MB / 1.076 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.0003634/1.102, allocations: 300.7 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/1.102, allocations: 9.625 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/1.102, allocations: 12.97 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.102, allocations: 138.3 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/1.102, allocations: 7.125 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.102, allocations: 9.875 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.102, allocations: 93.59 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.102, allocations: 8.062 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.102, allocations: 13.31 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.102, allocations: 1.375 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/1.103, allocations: 35.47 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/1.103, allocations: 357.4 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/1.103, allocations: 38.14 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/1.103, allocations: 16.42 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.103, allocations: 1.25 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/1.103, allocations: 40.67 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.103, allocations: 4 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/1.103, allocations: 52.56 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/1.103, allocations: 82.36 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/1.103, allocations: 127.7 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/1.103, allocations: 25.7 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/1.103, allocations: 113.8 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/1.103, allocations: 10.36 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/1.103, allocations: 17.88 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/1.103, allocations: 314.5 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/1.103, allocations: 8.281 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/1.104, allocations: 20.89 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/1.104, allocations: 26.86 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.104, allocations: 3.938 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.149e-05/1.104, allocations: 49.3 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.104, allocations: 5.312 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.104, allocations: 5.031 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.104, allocations: 4.453 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/1.104, allocations: 6.484 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/1.104, allocations: 10.03 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/1.104, allocations: 9.391 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/1.104, allocations: 1.281 kB / 1.19 GB, free: 13.68 MB / 1.076 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 4.699e-05/1.104, allocations: 109.8 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/1.104, allocations: 7.516 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/1.104, allocations: 11.02 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.104, allocations: 1.75 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.104, allocations: 3.984 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.104, allocations: 0.5156 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/1.104, allocations: 421.5 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.104, allocations: 8.688 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/1.104, allocations: 4.062 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.104, allocations: 0.75 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.104, allocations: 1.312 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.104, allocations: 0 / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.104, allocations: 1.688 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/1.104, allocations: 76.5 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/1.104, allocations: 12.33 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/1.104, allocations: 2.266 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/1.104, allocations: 5.656 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/1.104, allocations: 0.5625 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/1.104, allocations: 1.812 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.369e-05/1.104, allocations: 100.6 kB / 1.19 GB, free: 12.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.104, allocations: 0 / 1.19 GB, free: 12.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001911/1.105, allocations: 16.05 kB / 1.19 GB, free: 12.93 MB / 1.076 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 7.687e-05/1.105, allocations: 93.94 kB / 1.19 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/1.105, allocations: 19.19 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.105, allocations: 1.562 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/1.105, allocations: 7.703 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/1.105, allocations: 10.44 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/1.105, allocations: 154.2 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/1.105, allocations: 83.39 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.699e-05/1.105, allocations: 4.188 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/1.105, allocations: 16 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.105, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.002631/1.108, allocations: 331 kB / 1.191 GB, free: 12.51 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.357891774037853]