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.001982/0.001982, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001996/0.001996, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 3.161/3.161, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 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.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.623e-06/1.623e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.41e-05, allocations: 8.141 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002108/0.002142, allocations: 0.8102 MB / 0.8116 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.002275, allocations: 43.78 kB / 0.8117 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.002329, allocations: 1.656 kB / 0.8117 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.002366, allocations: 11.86 kB / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.002466, allocations: 11.86 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.32e-05/0.00252, allocations: 19.98 kB / 0.8117 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.002658, allocations: 63.83 kB / 0.8118 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.002787, allocations: 25.23 kB / 0.8118 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.002891, allocations: 43.89 kB / 0.8118 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.002939, allocations: 15.92 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.00296, allocations: 5.594 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.002973, allocations: 8 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.002996, allocations: 19.91 kB / 0.8119 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.003031, allocations: 15.94 kB / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.003161, allocations: 82.06 kB / 0.812 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003163, allocations: 0 / 0.812 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003164, allocations: 0 / 0.812 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003168, allocations: 0 / 0.812 GB, free: 0.9727 MB / 0.7605 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.0005689/0.003737, allocations: 411.9 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.003778, allocations: 12.03 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.003832, allocations: 17.61 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.004055, allocations: 136.4 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.004069, allocations: 4.906 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.004086, allocations: 10.03 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.004267, allocations: 102.5 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.004278, allocations: 192 / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.004288, allocations: 384 / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004292, allocations: 384 / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.004387, allocations: 44.52 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.005065, allocations: 475.5 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.005159, allocations: 58.31 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.005205, allocations: 28.58 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.005217, allocations: 0 / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.005253, allocations: 37.39 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005254, allocations: 1.375 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.005451, allocations: 49.59 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.005514, allocations: 78.86 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.005707, allocations: 212.6 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.005725, allocations: 25.7 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.005844, allocations: 154.7 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.005857, allocations: 12.8 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.005906, allocations: 23.36 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002707/0.006177, allocations: 496.1 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.006196, allocations: 5.812 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.006237, allocations: 31.36 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.006292, allocations: 31.38 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006294, allocations: 0.8125 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.006395, allocations: 51.98 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.006414, allocations: 11.98 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.00642, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.006434, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.006496, allocations: 4 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.006508, allocations: 7.938 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.006539, allocations: 9.891 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.006542, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 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.0001257/0.006668, allocations: 164.5 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.006705, allocations: 4 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.006737, allocations: 15.45 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006739, allocations: 0.5 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.006742, allocations: 1.906 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.006747, allocations: 3.938 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.007278, allocations: 0.5577 MB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007279, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.007309, allocations: 9.156 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007311, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.007319, allocations: 3.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.007323, allocations: 4.594 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007324, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.007438, allocations: 88.81 kB / 0.8152 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.007464, allocations: 15.55 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007477, allocations: 4.031 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.007494, allocations: 0 / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.007517, allocations: 7.984 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.007519, allocations: 3.938 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001056/0.007624, allocations: 143.2 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007625, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001799/0.007804, allocations: 7.953 kB / 0.8154 GB, free: 13.13 MB / 0.7761 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.0001347/0.007939, allocations: 101.3 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008042, allocations: 27.62 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008044, allocations: 0 / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.008066, allocations: 15.69 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.008206, allocations: 8.875 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.008586, allocations: 178.6 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.008673, allocations: 81.38 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.008701, allocations: 3.984 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.008732, allocations: 12.5 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.008733, allocations: 1.094 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003164/0.0119, allocations: 347.2 kB / 0.8161 GB, free: 12.31 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] 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: 8.301784286042675]