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.001409/0.001409, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001537/0.001537, allocations: 159.2 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.484/1.484, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.859/2.859, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.011e-05, allocations: 5.656 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001949/0.001979, allocations: 0.7946 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.002099, allocations: 47.78 kB / 0.9823 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.002149, allocations: 3.938 kB / 0.9823 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.002189, allocations: 7.875 kB / 0.9823 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.002278, allocations: 3.938 kB / 0.9823 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.773e-05/0.002325, allocations: 19.97 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.002447, allocations: 67.78 kB / 0.9824 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.002583, allocations: 35.91 kB / 0.9824 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.002681, allocations: 39.84 kB / 0.9824 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.002743, allocations: 15.92 kB / 0.9824 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.002765, allocations: 4 kB / 0.9825 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.002777, allocations: 8 kB / 0.9825 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.002804, allocations: 19.91 kB / 0.9825 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.002838, allocations: 19.92 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.00296, allocations: 67.77 kB / 0.9826 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002962, allocations: 0 / 0.9826 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002963, allocations: 0 / 0.9826 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002967, allocations: 0 / 0.9826 GB, free: 10.86 MB / 0.9356 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.0004679/0.003434, allocations: 310 kB / 0.9829 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.003474, allocations: 8.031 kB / 0.9829 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.003512, allocations: 16.78 kB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.003715, allocations: 137.6 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.003728, allocations: 4.375 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.003746, allocations: 8.375 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.003914, allocations: 87.95 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.003924, allocations: 192 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.003937, allocations: 4.375 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003943, allocations: 4.375 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.004032, allocations: 47.84 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.00455, allocations: 352.4 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.004626, allocations: 45.33 kB / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.004662, allocations: 13.78 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004673, allocations: 3.984 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.004706, allocations: 38.56 kB / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004707, allocations: 0 / 0.9836 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.004898, allocations: 53.69 kB / 0.9836 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.00496, allocations: 85.03 kB / 0.9837 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.005098, allocations: 131 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.005113, allocations: 25.7 kB / 0.9839 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.005192, allocations: 111.9 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.005204, allocations: 11.92 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.005242, allocations: 21.67 kB / 0.984 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.0054, allocations: 310.8 kB / 0.9843 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.005419, allocations: 8 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005449, allocations: 21.7 kB / 0.9843 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.005498, allocations: 29.88 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.0055, allocations: 4 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.809e-05/0.005588, allocations: 53.62 kB / 0.9844 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.005603, allocations: 4 kB / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005608, allocations: 0 / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.005622, allocations: 0 / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.005685, allocations: 8 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.005692, allocations: 3.938 kB / 0.9844 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.005721, allocations: 11.83 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.005729, allocations: 12.06 kB / 0.9845 GB, free: 8.695 MB / 0.9356 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.0001016/0.005831, allocations: 113.8 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.005873, allocations: 4 kB / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.005894, allocations: 11.45 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005896, allocations: 0 / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0059, allocations: 0 / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.005904, allocations: 3.938 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.006335, allocations: 414.4 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006336, allocations: 0 / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.006356, allocations: 8.062 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006358, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.006369, allocations: 7.938 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.00637, allocations: 0 / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006371, allocations: 0 / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.006463, allocations: 69.98 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.006488, allocations: 11.95 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.006503, allocations: 3.938 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.006521, allocations: 3.938 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.006535, allocations: 4 kB / 0.9851 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.006537, allocations: 4.031 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.006615, allocations: 97.27 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.006616, allocations: 0 / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002006/0.006816, allocations: 15.95 kB / 0.9852 GB, free: 7.867 MB / 0.9356 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.0001142/0.00693, allocations: 99.77 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.007022, allocations: 12 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.007026, allocations: 4 kB / 0.9853 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.007038, allocations: 7.938 kB / 0.9853 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.007195, allocations: 12.19 kB / 0.9853 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.007534, allocations: 166.6 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.007616, allocations: 75.33 kB / 0.9856 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.007646, allocations: 7.984 kB / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.007671, allocations: 8.5 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.007671, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.002816/0.01049, allocations: 340.5 kB / 0.9859 GB, free: 7.082 MB / 0.9356 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/jenkins/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: 8.200857389718294]