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.001974/0.001974, 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.002363/0.002363, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.264/3.264, allocations: 429.6 MB / 0.673 GB, free: 3.867 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.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.673e-06/1.673e-06, allocations: 0.9844 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.009e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002414/0.002444, allocations: 0.7998 MB / 0.8784 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.002617, allocations: 40.17 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.00269, allocations: 0.9062 kB / 0.8784 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.311e-05/0.002743, allocations: 15.8 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.002853, allocations: 12.53 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.61e-05/0.00291, allocations: 15.98 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.003058, allocations: 60.5 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.003225, allocations: 39.89 kB / 0.8786 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003328, allocations: 37.41 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.003391, allocations: 19.91 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003413, allocations: 4 kB / 0.8786 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.003427, allocations: 9.344 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.00345, allocations: 11.92 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.003498, allocations: 23.92 kB / 0.8787 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.003652, allocations: 75.69 kB / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003655, allocations: 3.219 kB / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003656, allocations: 0 / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.003661, allocations: 0 / 0.8787 GB, free: 5.359 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.0005248/0.004186, allocations: 302 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.004227, allocations: 11.97 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.004289, allocations: 16.89 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.004529, allocations: 133.7 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.004549, allocations: 8.375 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.004566, allocations: 4.969 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.004773, allocations: 104.1 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.004788, allocations: 4.172 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.004806, allocations: 4.375 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004812, allocations: 384 / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.004937, allocations: 35.92 kB / 0.8793 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.0056, allocations: 357.8 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.005684, allocations: 37.16 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.005734, allocations: 21.84 kB / 0.8797 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.005748, allocations: 8.031 kB / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.005797, allocations: 34.55 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.005799, allocations: 0 / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002243/0.006023, allocations: 49.59 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.006091, allocations: 81.11 kB / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.006253, allocations: 133.8 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.006274, allocations: 25.7 kB / 0.88 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.006376, allocations: 112.2 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.006388, allocations: 11.95 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.006429, allocations: 13.72 kB / 0.8802 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.006649, allocations: 322.8 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.00667, allocations: 4 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.006699, allocations: 17.72 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.006775, allocations: 25.66 kB / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.006777, allocations: 0 / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001577/0.006935, allocations: 57.64 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.006952, allocations: 16 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.00696, allocations: 4 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.006983, allocations: 0 / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.007054, allocations: 8 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.007065, allocations: 7.922 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.007091, allocations: 0 / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007101, allocations: 4 kB / 0.8806 GB, free: 3.215 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.0001031/0.007204, allocations: 109.8 kB / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.007245, allocations: 7.953 kB / 0.8807 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.007273, allocations: 11.47 kB / 0.8807 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007275, allocations: 4 kB / 0.8807 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.00728, allocations: 0 / 0.8807 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.007285, allocations: 7.875 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.007768, allocations: 414.4 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007769, allocations: 0 / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.007792, allocations: 4 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007794, allocations: 0 / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.007805, allocations: 7.938 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007807, allocations: 0 / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.007811, allocations: 3.984 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.007941, allocations: 77.95 kB / 0.8812 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.007965, allocations: 7.953 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.00799, allocations: 7.922 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.008024, allocations: 4 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.008042, allocations: 4 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.008045, allocations: 0 / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001279/0.008173, allocations: 102.3 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008173, allocations: 0 / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002055/0.008378, allocations: 8 kB / 0.8814 GB, free: 2.375 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.0001457/0.008524, allocations: 103.3 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.13e-05/0.008615, allocations: 19.92 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008617, allocations: 0 / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.008628, allocations: 4 kB / 0.8815 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.008789, allocations: 5.125 kB / 0.8815 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.009162, allocations: 166.9 kB / 0.8817 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.009264, allocations: 87.42 kB / 0.8817 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.009293, allocations: 4 kB / 0.8817 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.009329, allocations: 8.5 kB / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.009329, allocations: 0 / 0.8817 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of Templates: time 0.002915/0.01224, allocations: 363.5 kB / 0.8821 GB, free: 1.566 MB / 0.8386 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.249874611967243]