Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_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.001184/0.001184, allocations: 108.8 kB / 16.36 MB, free: 6.336 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.001173/0.001174, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.991/1.991, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.2 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2352, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002394/0.2376, allocations: 1.491 MB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.2379, allocations: 104.6 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.2379, allocations: 0 / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.238, allocations: 7.922 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.238, allocations: 11.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.2382, allocations: 27.91 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.2383, allocations: 39.92 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2384, allocations: 11.98 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.2385, allocations: 11.94 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2385, allocations: 27.91 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2385, allocations: 7.938 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.2386, allocations: 23.98 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.2387, allocations: 19.91 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.2387, allocations: 19.88 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2388, allocations: 59.73 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2389, allocations: 0 / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2389, allocations: 0 / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2389, allocations: 0 / 0.9529 GB, free: 6.199 MB / 0.7325 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.0004572/0.2393, allocations: 383.1 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2394, allocations: 8.031 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.2394, allocations: 16.83 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2395, allocations: 172.3 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.2395, allocations: 4.375 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2395, allocations: 8.375 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2398, allocations: 74.2 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2398, allocations: 192 / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2398, allocations: 3.938 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2398, allocations: 3.984 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.2401, allocations: 79.86 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.2404, allocations: 277 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.2406, allocations: 70.47 kB / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2407, allocations: 44.91 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.241, allocations: 109.1 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.241, allocations: 34.5 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/0.241, allocations: 0 / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005105/0.2415, allocations: 157.4 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2415, allocations: 51.41 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.2416, allocations: 125.8 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2417, allocations: 25.7 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2417, allocations: 96.06 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2417, allocations: 7.906 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.2418, allocations: 17.72 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2419, allocations: 318.8 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.242, allocations: 35.97 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2422, allocations: 39.95 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2424, allocations: 80.72 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2424, allocations: 3.938 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002801/0.2427, allocations: 105.5 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2427, allocations: 14.02 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2427, allocations: 0 / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2428, allocations: 4 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2429, allocations: 19.98 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2429, allocations: 3.938 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.243, allocations: 7.984 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.243, allocations: 4 kB / 0.9552 GB, free: 3.598 MB / 0.7325 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 6.643e-05/0.243, allocations: 123.7 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.2431, allocations: 3.906 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.2434, allocations: 121.5 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2434, allocations: 4 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2434, allocations: 0 / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2434, allocations: 0 / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2436, allocations: 177.6 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2436, allocations: 0 / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.2437, allocations: 19.97 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2437, allocations: 4 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2437, allocations: 4.375 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2437, allocations: 0 / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2437, allocations: 4 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.2441, allocations: 215.2 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.2441, allocations: 85.05 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2441, allocations: 8 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.2442, allocations: 7.984 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.2443, allocations: 7.984 kB / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2443, allocations: 0 / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.2443, allocations: 103.1 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2443, allocations: 0 / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002096/0.2446, allocations: 12 kB / 0.9561 GB, free: 2.613 MB / 0.7325 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.000111/0.2447, allocations: 99.25 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.245, allocations: 79.91 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.245, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.2451, allocations: 43.91 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2454, allocations: 19.83 kB / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.2456, allocations: 149.5 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2459, allocations: 0.6922 MB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.2459, allocations: 7.984 kB / 0.9571 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.2459, allocations: 7.438 kB / 0.9571 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2459, allocations: 0 / 0.9571 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of Templates: time 0.00258/0.2485, allocations: 0.7932 MB / 0.9579 GB, free: 0.6719 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches