Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000982/0.000982, allocations: 115.5 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 193.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.18/2.18, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 69.11 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2496, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002365/0.252, allocations: 1.501 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000277/0.2523, allocations: 108.5 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.2523, allocations: 0 / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.2524, allocations: 3.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.2524, allocations: 15.86 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.2526, allocations: 23.97 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.2527, allocations: 43.84 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.2528, allocations: 19.92 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.2528, allocations: 15.92 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.2529, allocations: 27.91 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2529, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.253, allocations: 23.98 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.253, allocations: 11.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.2531, allocations: 19.86 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.2532, allocations: 63.81 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2532, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2532, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2532, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 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.0004694/0.2537, allocations: 379.2 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.2537, allocations: 8.031 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.2537, allocations: 8.844 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2539, allocations: 179.5 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2539, allocations: 4.375 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2539, allocations: 4.375 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2541, allocations: 74.16 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2541, allocations: 192 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2541, allocations: 7.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2542, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.2544, allocations: 75.92 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2547, allocations: 281 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2549, allocations: 70.41 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.2551, allocations: 48.91 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.2553, allocations: 109.1 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2553, allocations: 30.56 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2553, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004812/0.2558, allocations: 149.5 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2559, allocations: 55.41 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.256, allocations: 121.8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.256, allocations: 25.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.256, allocations: 100 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.256, allocations: 15.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.2561, allocations: 17.72 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2562, allocations: 314.8 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2563, allocations: 39.89 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2565, allocations: 31.97 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.2567, allocations: 88.77 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2567, allocations: 3.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000277/0.257, allocations: 101.6 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.257, allocations: 8 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.257, allocations: 3.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.257, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2571, allocations: 19.91 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2572, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.2572, allocations: 15.98 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2572, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 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 7.331e-05/0.2573, allocations: 117.7 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2574, allocations: 8.234 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.2577, allocations: 129.5 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2577, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2577, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2577, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2579, allocations: 185.6 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2579, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.258, allocations: 19.92 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.258, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.258, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.258, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.258, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2583, allocations: 211.3 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.2584, allocations: 85.02 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2584, allocations: 3.984 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.2585, allocations: 11.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.2585, allocations: 8 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2586, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.2586, allocations: 99.25 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2586, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002155/0.2588, allocations: 12 kB / 1.032 GB, free: 12.64 MB / 0.8106 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.0001397/0.259, allocations: 107.2 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.2593, allocations: 83.8 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2593, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2594, allocations: 39.95 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2597, allocations: 15.94 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.26, allocations: 141.5 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2602, allocations: 0.6885 MB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.49e-05/0.2602, allocations: 3.859 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.2603, allocations: 15.44 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2603, allocations: 3.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.002619/0.2629, allocations: 0.8026 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches