Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001735/0.001735, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002077/0.002077, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.297/3.297, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.197e-05, allocations: 5.672 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002384/0.002416, allocations: 0.8101 MB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001784/0.002594, allocations: 40.91 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.002663, allocations: 0 / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.002711, allocations: 12.45 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.002827, allocations: 13.41 kB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.928e-05/0.002887, allocations: 19.98 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.003028, allocations: 55.84 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.003184, allocations: 31.95 kB / 0.8786 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.003306, allocations: 37.17 kB / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.003363, allocations: 19.91 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.003391, allocations: 8 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.003402, allocations: 4.875 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.003435, allocations: 19.92 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.003478, allocations: 19.92 kB / 0.8787 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.003644, allocations: 77.12 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003646, allocations: 0 / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003647, allocations: 0 / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.00366, allocations: 4 kB / 0.8787 GB, free: 5.375 MB / 0.8386 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.0005848/0.004245, allocations: 303.5 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.004289, allocations: 12.03 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.00435, allocations: 12.89 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.004614, allocations: 134.8 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.004632, allocations: 8.375 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.004655, allocations: 12.38 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.004853, allocations: 87.33 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.004864, allocations: 192 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.004882, allocations: 4.375 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.004892, allocations: 4.375 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.004998, allocations: 43.86 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.005636, allocations: 360.4 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.005719, allocations: 37.34 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.005769, allocations: 21.78 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.005777, allocations: 3.938 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.005819, allocations: 34.56 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.00582, allocations: 0 / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.006039, allocations: 53.58 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.006114, allocations: 81.11 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.006281, allocations: 129.8 kB / 0.88 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.006304, allocations: 25.7 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.006428, allocations: 115.9 kB / 0.8802 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.00644, allocations: 8.141 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.006492, allocations: 21.72 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.006677, allocations: 314.8 kB / 0.8805 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.006705, allocations: 8 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.006734, allocations: 13.72 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.006794, allocations: 29.72 kB / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006796, allocations: 0 / 0.8805 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.006906, allocations: 57.58 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.006922, allocations: 4 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.00693, allocations: 8.062 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.006952, allocations: 0 / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.007027, allocations: 4 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.007035, allocations: 3.938 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.007067, allocations: 8 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007075, allocations: 3.984 kB / 0.8806 GB, free: 3.238 MB / 0.8386 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.000113/0.007188, allocations: 117.8 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.007232, allocations: 7.953 kB / 0.8807 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.007253, allocations: 3.469 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.00726, allocations: 8 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.007276, allocations: 4 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.007283, allocations: 3.938 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.007754, allocations: 414.4 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007756, allocations: 0 / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.007782, allocations: 4 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.007786, allocations: 0 / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.007795, allocations: 3.938 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.007796, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007798, allocations: 0 / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.007916, allocations: 85.94 kB / 0.8812 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.007944, allocations: 11.95 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.007964, allocations: 7.922 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.007983, allocations: 3.938 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.007996, allocations: 0 / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.008004, allocations: 4 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.303e-05/0.008097, allocations: 103.3 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008097, allocations: 0 / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000219/0.008316, allocations: 8 kB / 0.8814 GB, free: 2.387 MB / 0.8386 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.0001331/0.008449, allocations: 91.25 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.008545, allocations: 24.02 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.008547, allocations: 0 / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.008563, allocations: 7.938 kB / 0.8815 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.008729, allocations: 10.5 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.009134, allocations: 158.9 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.009237, allocations: 80.11 kB / 0.8817 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.009264, allocations: 8.094 kB / 0.8817 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.009302, allocations: 12.5 kB / 0.8817 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/0.009303, allocations: 0 / 0.8817 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of Templates: time 0.002908/0.01221, allocations: 363.2 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.56363099697046]