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.0009888/0.0009888, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002411, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009182/0.0009182, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.002685, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9732/0.9732, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.97/1.97, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.554/2.524, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.422e-06/1.422e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.128e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001463/0.001484, allocations: 0.8725 MB / 0.7305 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.341e-05/0.001557, allocations: 43.78 kB / 0.7306 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.001604, allocations: 4 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.001632, allocations: 7.875 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.001678, allocations: 14.77 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-05/0.001714, allocations: 23.97 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.001805, allocations: 63.11 kB / 0.7307 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.001902, allocations: 24.97 kB / 0.7307 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.001991, allocations: 50.3 kB / 0.7307 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.002031, allocations: 15.83 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002052, allocations: 8.531 kB / 0.7308 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.00206, allocations: 8 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.002079, allocations: 12.47 kB / 0.7308 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.002101, allocations: 12.62 kB / 0.7308 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.002196, allocations: 47.7 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.002209, allocations: 0.9375 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00221, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.002224, allocations: 0.5 kB / 0.7308 GB, free: 3.27 MB / 0.698 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.0003768/0.002601, allocations: 292.5 kB / 0.7311 GB, free: 2.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.002634, allocations: 8.031 kB / 0.7311 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.002664, allocations: 12.92 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.002796, allocations: 143 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.002805, allocations: 4.375 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.002818, allocations: 8.375 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.002913, allocations: 73.39 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.00292, allocations: 192 / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.002927, allocations: 5.062 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.002933, allocations: 4.359 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.002959, allocations: 21.59 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.003304, allocations: 0.5088 MB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.13e-05/0.003366, allocations: 173.1 kB / 0.732 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.003387, allocations: 88.2 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.003405, allocations: 76.09 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.003441, allocations: 109.8 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.003442, allocations: 0.5 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.177e-05/0.003503, allocations: 30.27 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.003541, allocations: 126.7 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.003629, allocations: 154 kB / 0.7326 GB, free: 1.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003637, allocations: 25.7 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.003686, allocations: 119.8 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.003691, allocations: 8.875 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.003715, allocations: 17.67 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.003789, allocations: 331.4 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.003797, allocations: 7.938 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.003826, allocations: 55.53 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.003879, allocations: 70.08 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003881, allocations: 0 / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.289e-05/0.003964, allocations: 75.2 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003976, allocations: 4.719 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.003983, allocations: 7.938 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.003997, allocations: 4.531 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.704e-05/0.004044, allocations: 16 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.004047, allocations: 1.031 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.004069, allocations: 7.938 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.004073, allocations: 8.562 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.81e-05/0.004142, allocations: 198.7 kB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.004176, allocations: 105 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.004213, allocations: 108.8 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.004268, allocations: 192.2 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/0.004304, allocations: 176.3 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/0.004343, allocations: 181.4 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.004481, allocations: 337.3 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.004503, allocations: 101 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.004524, allocations: 106.5 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.004561, allocations: 116.9 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.896e-05/0.0046, allocations: 184.2 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.004639, allocations: 180.2 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-05/0.004677, allocations: 177 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.745e-05/0.004715, allocations: 184.4 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.115e-05/0.004806, allocations: 316.3 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.004851, allocations: 180.3 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.004894, allocations: 109.7 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.004938, allocations: 180.3 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.004961, allocations: 102 kB / 0.7364 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.004987, allocations: 26.55 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004987, allocations: 0 / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001192/0.005106, allocations: 13.11 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001882/0.005295, allocations: 164.2 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.751e-05/0.005362, allocations: 25.95 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.005368, allocations: 4.938 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.00537, allocations: 0 / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.005582, allocations: 484.8 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.005801, allocations: 224 kB / 0.7373 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.005832, allocations: 65.38 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.005867, allocations: 11.45 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.0059, allocations: 55.38 kB / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.005901, allocations: 0 / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.001722/0.007623, allocations: 275.5 kB / 0.7377 GB, free: 11.8 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.960872760042548]