Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 188.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.91 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.859, allocations: 160.8 MB / 1.218 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003415/0.8624, allocations: 1.512 MB / 1.22 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.8628, allocations: 109.2 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.8628, allocations: 1.062 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.738e-05/0.8628, allocations: 7.922 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.8629, allocations: 14.59 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.8631, allocations: 21.5 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.8632, allocations: 44.64 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.8633, allocations: 15.62 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.8634, allocations: 15.02 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.8635, allocations: 25.58 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.8635, allocations: 3.344 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.8636, allocations: 19.83 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.8636, allocations: 11.58 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.8637, allocations: 24.25 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8638, allocations: 70.67 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8638, allocations: 0 / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8638, allocations: 4.844 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8638, allocations: 0 / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005766/0.8644, allocations: 375.2 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.8644, allocations: 9.312 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.8645, allocations: 7.641 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8646, allocations: 176.6 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.8646, allocations: 5.75 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.8646, allocations: 1.719 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.8649, allocations: 74.75 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8649, allocations: 1.281 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.8649, allocations: 7.875 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.8649, allocations: 1.188 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.8652, allocations: 79.56 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.8656, allocations: 276.9 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.8658, allocations: 71 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.866, allocations: 47.47 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.8662, allocations: 107.6 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.8663, allocations: 34.56 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.8663, allocations: 0 / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005415/0.8668, allocations: 146.7 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.8668, allocations: 56.53 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.867, allocations: 128.9 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.867, allocations: 25.7 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.8671, allocations: 94.58 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.8671, allocations: 18.58 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.8671, allocations: 15.75 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8673, allocations: 317.1 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.8675, allocations: 37.27 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.8676, allocations: 37.3 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.8679, allocations: 78.69 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8679, allocations: 5 kB / 1.222 GB, free: 336 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.8682, allocations: 118.1 kB / 1.223 GB, free: 260 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8682, allocations: 5.594 kB / 1.223 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8682, allocations: 3.938 kB / 1.223 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8682, allocations: 7.984 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.8683, allocations: 14.77 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8683, allocations: 1.094 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.8684, allocations: 10.2 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.8684, allocations: 1.094 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.5e-05/0.8685, allocations: 126 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.8686, allocations: 6.047 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.8689, allocations: 121.5 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8689, allocations: 4.594 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8689, allocations: 1 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8689, allocations: 0 / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.8691, allocations: 184.3 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8691, allocations: 3.938 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.8692, allocations: 22.64 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8692, allocations: 5.266 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.8693, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8693, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8693, allocations: 1.031 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.8696, allocations: 204.3 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.8697, allocations: 90.86 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.8697, allocations: 0.9688 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8698, allocations: 10.58 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.8698, allocations: 6.141 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8698, allocations: 0.9688 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.118e-05/0.8699, allocations: 99.52 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8699, allocations: 1.125 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002346/0.8701, allocations: 12.66 kB / 1.223 GB, free: 15.41 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0002129/0.8704, allocations: 104.1 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.8707, allocations: 78.06 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8707, allocations: 0 / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.8709, allocations: 44.22 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.8711, allocations: 10.95 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.8715, allocations: 140.8 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.872, allocations: 0.6912 MB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.872, allocations: 6.203 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.872, allocations: 9.594 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.872, allocations: 4 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003568/0.8756, allocations: 0.8145 MB / 1.225 GB, free: 14 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.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.531483526341617]