Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001468/0.001468, allocations: 76.42 kB / 20.23 MB, free: 4.203 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.001638/0.001638, allocations: 157.3 kB / 23.54 MB, free: 0.8906 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.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.834/2.834, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8108 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.113e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003767/0.003798, allocations: 1.497 MB / 0.8123 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.004141, allocations: 104.6 kB / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.004178, allocations: 4 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.978e-05/0.004237, allocations: 8.578 kB / 0.8124 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.0043, allocations: 8.75 kB / 0.8124 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.004538, allocations: 23.97 kB / 0.8124 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.004629, allocations: 41.11 kB / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.004726, allocations: 15.97 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.0048, allocations: 23.92 kB / 0.8125 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.004847, allocations: 13.55 kB / 0.8125 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.004867, allocations: 4 kB / 0.8125 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.004938, allocations: 19.98 kB / 0.8125 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.004988, allocations: 19.86 kB / 0.8126 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.005022, allocations: 13.39 kB / 0.8126 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.005194, allocations: 67.78 kB / 0.8126 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005197, allocations: 0 / 0.8126 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005198, allocations: 0 / 0.8126 GB, free: 100 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.005203, allocations: 1.5 kB / 0.8126 GB, free: 100 kB / 0.7605 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.0006279/0.005831, allocations: 298.1 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.005872, allocations: 8.75 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.005921, allocations: 8.891 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.006058, allocations: 122.7 kB / 0.813 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006074, allocations: 8.375 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.006085, allocations: 384 / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.00638, allocations: 75.47 kB / 0.8131 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.006397, allocations: 8.109 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006411, allocations: 5.656 kB / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.006415, allocations: 384 / 0.8131 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.006737, allocations: 81.59 kB / 0.8132 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.007145, allocations: 228.6 kB / 0.8134 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.007389, allocations: 60.11 kB / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.007561, allocations: 46.06 kB / 0.8135 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.007792, allocations: 33.75 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.007828, allocations: 34.56 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.007829, allocations: 3.938 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006581/0.008487, allocations: 147.8 kB / 0.8137 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.008541, allocations: 55.41 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.00869, allocations: 125.3 kB / 0.8139 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.008717, allocations: 33.7 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.008795, allocations: 92.08 kB / 0.814 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.008821, allocations: 11.95 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.00886, allocations: 9.719 kB / 0.8141 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.009065, allocations: 322.8 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.009245, allocations: 35.91 kB / 0.8144 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.009402, allocations: 41.08 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.009707, allocations: 75.31 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009708, allocations: 0 / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003693/0.01008, allocations: 114.7 kB / 0.8146 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.0101, allocations: 11.92 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0101, allocations: 1.969 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01012, allocations: 0 / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01025, allocations: 15.98 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01026, allocations: 0 / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.01034, allocations: 16.73 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.01035, allocations: 0.9375 kB / 0.8147 GB, free: 13.86 MB / 0.7761 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 0.0001091/0.01046, allocations: 117.8 kB / 0.8148 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.01049, allocations: 9.297 kB / 0.8148 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.0109, allocations: 118.5 kB / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0109, allocations: 0 / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01091, allocations: 1.406 kB / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01091, allocations: 384 / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.01111, allocations: 125.3 kB / 0.815 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01111, allocations: 0 / 0.815 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01121, allocations: 15.73 kB / 0.815 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01121, allocations: 4 kB / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01122, allocations: 0 / 0.815 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.01123, allocations: 7.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.01123, allocations: 3.984 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.01167, allocations: 211.4 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.01168, allocations: 4.875 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.0117, allocations: 7.938 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01182, allocations: 16.94 kB / 0.8153 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.01187, allocations: 8 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.01187, allocations: 1.125 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001065/0.01198, allocations: 100 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01198, allocations: 0 / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002448/0.01222, allocations: 17.12 kB / 0.8154 GB, free: 13.05 MB / 0.7761 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.0001923/0.01241, allocations: 95.25 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.0128, allocations: 77.8 kB / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0128, allocations: 0 / 0.8156 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.01298, allocations: 41.92 kB / 0.8156 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01325, allocations: 15.98 kB / 0.8156 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.01368, allocations: 157 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.01377, allocations: 71.92 kB / 0.8158 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01381, allocations: 9.094 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01384, allocations: 8.5 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.01384, allocations: 0.6562 kB / 0.8159 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.00422/0.01806, allocations: 0.8655 MB / 0.8167 GB, free: 11.69 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.8242618589429185]