Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001836/0.001836, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002378/0.002378, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.539/1.539, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.868/2.868, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.844e-05, allocations: 4.812 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001849/0.001877, allocations: 0.7869 MB / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.001992, allocations: 39.84 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.002042, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.002086, allocations: 11.86 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.002166, allocations: 15.81 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.843e-05/0.002214, allocations: 11.98 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.002327, allocations: 63.84 kB / 0.9519 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.002454, allocations: 39.95 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.002538, allocations: 35.91 kB / 0.952 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.002586, allocations: 19.91 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002607, allocations: 15.88 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.002617, allocations: 4 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.002648, allocations: 19.92 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.002675, allocations: 11.98 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.002793, allocations: 79.62 kB / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002796, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002796, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.0028, allocations: 4 kB / 0.9521 GB, free: 10.42 MB / 0.8575 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.0004318/0.003232, allocations: 306 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003267, allocations: 11.97 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.003304, allocations: 12.89 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.003512, allocations: 133.6 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.003525, allocations: 4.375 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.003539, allocations: 8.375 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.003709, allocations: 97.77 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003717, allocations: 192 / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.003729, allocations: 4.359 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.003735, allocations: 8.375 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.003816, allocations: 39.92 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.004315, allocations: 356.4 kB / 0.953 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.004385, allocations: 37.22 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.004417, allocations: 13.78 kB / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.004422, allocations: 96 / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.004457, allocations: 46.48 kB / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004458, allocations: 0 / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.004622, allocations: 53.58 kB / 0.9532 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.004683, allocations: 77.11 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.004811, allocations: 133.8 kB / 0.9534 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.004828, allocations: 25.7 kB / 0.9534 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.00492, allocations: 119.9 kB / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.004928, allocations: 3.953 kB / 0.9535 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.004965, allocations: 17.72 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.005102, allocations: 314.8 kB / 0.9539 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.005121, allocations: 8 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.005146, allocations: 17.97 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.005191, allocations: 33.66 kB / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005193, allocations: 0 / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.111e-05/0.005284, allocations: 57.64 kB / 0.954 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005296, allocations: 4 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.0053, allocations: 0 / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.005315, allocations: 7.938 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.005374, allocations: 7.938 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.00538, allocations: 3.938 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.00541, allocations: 12.05 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005414, allocations: 0 / 0.954 GB, free: 8.273 MB / 0.8575 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 8.459e-05/0.005499, allocations: 113.8 kB / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.005546, allocations: 11.95 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.005564, allocations: 3.469 kB / 0.9541 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005566, allocations: 0 / 0.9541 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.005572, allocations: 4 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005576, allocations: 3.938 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.005965, allocations: 414.4 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005966, allocations: 4.062 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.005984, allocations: 0 / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005986, allocations: 4 kB / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.005994, allocations: 3.938 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005995, allocations: 0 / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.005997, allocations: 3.984 kB / 0.9545 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.006089, allocations: 77.89 kB / 0.9546 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.00611, allocations: 7.953 kB / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.006125, allocations: 7.922 kB / 0.9546 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.006145, allocations: 7.938 kB / 0.9546 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.006155, allocations: 4.031 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.006157, allocations: 0 / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.006232, allocations: 102.6 kB / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.006232, allocations: 0 / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001879/0.00642, allocations: 8 kB / 0.9547 GB, free: 7.434 MB / 0.8575 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 9.872e-05/0.006519, allocations: 95.25 kB / 0.9548 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.006602, allocations: 23.92 kB / 0.9549 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006603, allocations: 0 / 0.9549 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.006618, allocations: 8.125 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.006757, allocations: 4 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.007066, allocations: 158.7 kB / 0.955 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.445e-05/0.007141, allocations: 87.11 kB / 0.9551 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.007165, allocations: 4 kB / 0.9551 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.007186, allocations: 8.594 kB / 0.9551 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.007187, allocations: 4.125 kB / 0.9551 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.00261/0.009797, allocations: 342.2 kB / 0.9554 GB, free: 6.656 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.391580529510975]