Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001388/0.001388, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00154/0.00154, allocations: 203.6 kB / 23 MB, free: 4.934 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002078/0.002078, allocations: 71.44 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.399, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002265/0.4013, allocations: 0.7939 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.4014, allocations: 43.78 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.4014, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.4015, allocations: 7.875 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.4016, allocations: 15.86 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/0.4016, allocations: 15.98 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.4017, allocations: 59.84 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.4019, allocations: 39.97 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.402, allocations: 35.84 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.402, allocations: 27.75 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.4021, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4021, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.4021, allocations: 15.92 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.4021, allocations: 19.88 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4023, allocations: 87.5 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4023, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4023, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.4023, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 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.0004693/0.4028, allocations: 307.7 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4028, allocations: 8.031 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4028, allocations: 12.89 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.4031, allocations: 134.3 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4031, allocations: 8.375 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4031, allocations: 4.375 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4033, allocations: 99.8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4033, allocations: 192 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4033, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4033, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4034, allocations: 39.92 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.404, allocations: 356.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.235e-05/0.404, allocations: 37.25 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.4041, allocations: 17.78 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.4041, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4041, allocations: 38.55 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4041, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.4043, allocations: 53.75 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.4043, allocations: 85.14 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4045, allocations: 127.6 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4045, allocations: 29.64 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.4046, allocations: 115.9 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.4046, allocations: 3.953 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.4046, allocations: 13.72 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4048, allocations: 318.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.4048, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.4048, allocations: 17.72 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.4049, allocations: 41.64 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4049, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.28e-05/0.405, allocations: 53.59 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.405, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.405, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.405, allocations: 7.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.4051, allocations: 7.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4051, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.4051, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.4051, allocations: 0 / 1.33 GB, free: 13.7 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 8.832e-05/0.4052, allocations: 121.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.4052, allocations: 11.95 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4053, allocations: 11.41 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4053, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4053, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.4053, allocations: 7.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4053, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.4054, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.4054, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001339/0.4055, allocations: 200.2 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002084/0.4057, allocations: 298 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.267e-05/0.4058, allocations: 11.97 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.4058, allocations: 99.27 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.4058, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.4063, allocations: 88.28 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005786/0.4068, allocations: 0.6004 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Templates: time 0.00297/0.4098, allocations: 488.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.560348710001563]