Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001902/0.001902, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002329/0.002329, allocations: 165.3 kB / 23.55 MB, free: 0.8594 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.843/2.843, allocations: 377.8 MB / 0.6232 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.72e-05, allocations: 8.922 kB / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002063/0.0021, allocations: 0.7935 MB / 0.8116 GB, free: 180 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.00228, allocations: 39.78 kB / 0.8116 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.002335, allocations: 0 / 0.8116 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.002376, allocations: 7.875 kB / 0.8116 GB, free: 132 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.002474, allocations: 15.86 kB / 0.8117 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.705e-05/0.002531, allocations: 17.36 kB / 0.8117 GB, free: 100 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.002663, allocations: 63.75 kB / 0.8117 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.002828, allocations: 39.95 kB / 0.8118 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.002934, allocations: 35.91 kB / 0.8118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.002983, allocations: 21.36 kB / 0.8118 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.003008, allocations: 8 kB / 0.8118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.00302, allocations: 4 kB / 0.8118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.003046, allocations: 16.47 kB / 0.8118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.003096, allocations: 15.92 kB / 0.8119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003237, allocations: 84.02 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.003241, allocations: 5.109 kB / 0.8119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003242, allocations: 0 / 0.8119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003246, allocations: 0 / 0.8119 GB, free: 15.81 MB / 0.7292 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.0004649/0.003711, allocations: 298.6 kB / 0.8122 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.003749, allocations: 8.562 kB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.0038, allocations: 20.84 kB / 0.8123 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.004017, allocations: 135 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.004034, allocations: 8.312 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.004061, allocations: 8.375 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.004294, allocations: 93.09 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.004303, allocations: 192 / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.004316, allocations: 4.375 kB / 0.8125 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.004323, allocations: 5.312 kB / 0.8125 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.004419, allocations: 43.86 kB / 0.8125 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.004966, allocations: 353.4 kB / 0.8129 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.005053, allocations: 37.19 kB / 0.8129 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.005095, allocations: 22.88 kB / 0.8129 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.005102, allocations: 0 / 0.8129 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.00514, allocations: 35.56 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.00514, allocations: 0 / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.005335, allocations: 59.02 kB / 0.813 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.005406, allocations: 77.11 kB / 0.8131 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.005557, allocations: 133.8 kB / 0.8132 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.005578, allocations: 30.95 kB / 0.8133 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.005675, allocations: 111.9 kB / 0.8134 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.005688, allocations: 11.94 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.005726, allocations: 20.75 kB / 0.8134 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.005911, allocations: 310.8 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.005936, allocations: 11.98 kB / 0.8137 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.005964, allocations: 17.66 kB / 0.8137 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.006015, allocations: 25.72 kB / 0.8137 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006016, allocations: 4 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.725e-05/0.006114, allocations: 58.12 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006127, allocations: 5.938 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006131, allocations: 0 / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.006153, allocations: 4 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.006216, allocations: 4 kB / 0.8138 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.006223, allocations: 3.938 kB / 0.8138 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.006254, allocations: 9.609 kB / 0.8138 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.006258, allocations: 0 / 0.8138 GB, free: 13.68 MB / 0.7292 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.0001028/0.006361, allocations: 113.8 kB / 0.8139 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.006402, allocations: 7.984 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.006421, allocations: 4.406 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.006422, allocations: 0 / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.006429, allocations: 4.844 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.006434, allocations: 7.875 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.00704, allocations: 419.3 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007041, allocations: 0 / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.007065, allocations: 9.219 kB / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007066, allocations: 0 / 0.8144 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.007075, allocations: 3.938 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.007079, allocations: 4.828 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00708, allocations: 0 / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007187, allocations: 80.58 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.007207, allocations: 3.953 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.007225, allocations: 7.938 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.007243, allocations: 0 / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.00726, allocations: 3.984 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.007261, allocations: 0 / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.007345, allocations: 111.1 kB / 0.8146 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007345, allocations: 2.844 kB / 0.8146 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001992/0.007544, allocations: 11.95 kB / 0.8146 GB, free: 12.84 MB / 0.7292 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.0001197/0.007664, allocations: 91.25 kB / 0.8147 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.007752, allocations: 16 kB / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007754, allocations: 0 / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/0.007777, allocations: 8.875 kB / 0.8147 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.007939, allocations: 11.98 kB / 0.8147 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.008309, allocations: 167.2 kB / 0.8149 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.008397, allocations: 76.39 kB / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.008431, allocations: 5.078 kB / 0.815 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.008466, allocations: 12.5 kB / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 5.82e-07/0.008466, allocations: 0 / 0.815 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.002758/0.01122, allocations: 354.8 kB / 0.8153 GB, free: 12.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.7533008540049195]