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.001513/0.001513, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 200 kB / 16.79 MB, free: 6.828 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.3 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7225, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00264/0.7251, allocations: 1.54 MB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.7255, allocations: 123.3 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.7255, allocations: 0 / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.7256, allocations: 0 / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.7257, allocations: 6.344 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.7259, allocations: 16.45 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.7259, allocations: 45.28 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.726, allocations: 8.375 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.7261, allocations: 22.66 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.7261, allocations: 21.64 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7262, allocations: 2.312 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.707e-05/0.7262, allocations: 23.25 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.7263, allocations: 10.53 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.7263, allocations: 20.64 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.013e-05/0.7264, allocations: 37.27 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7264, allocations: 0 / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7265, allocations: 0 / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7265, allocations: 0 / 0.9514 GB, free: 7.676 MB / 0.7169 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.0004522/0.7269, allocations: 381.3 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.727, allocations: 8.781 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.727, allocations: 8.844 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/0.7271, allocations: 186.8 kB / 0.952 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7271, allocations: 5.75 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.7271, allocations: 2.75 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.7274, allocations: 78.62 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7274, allocations: 5.656 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.7274, allocations: 3.938 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7274, allocations: 0 / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.7277, allocations: 76.09 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.728, allocations: 276.8 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.7283, allocations: 80.89 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.7284, allocations: 44.34 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.7286, allocations: 110.3 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.7287, allocations: 35.78 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7287, allocations: 0 / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005315/0.7292, allocations: 146.8 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.7292, allocations: 55.41 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.7293, allocations: 133.5 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.7293, allocations: 25.7 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.7294, allocations: 87.39 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.7294, allocations: 11.89 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.7294, allocations: 13.25 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.7295, allocations: 320.1 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.7296, allocations: 41.58 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.7298, allocations: 37.27 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.73, allocations: 74.94 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.7301, allocations: 5.125 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003374/0.7304, allocations: 118.1 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7304, allocations: 6.375 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7304, allocations: 0.9062 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7304, allocations: 0 / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.7306, allocations: 19.31 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7306, allocations: 0 / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.7307, allocations: 18.52 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.7307, allocations: 1.188 kB / 0.9537 GB, free: 5.531 MB / 0.7169 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.467e-05/0.7308, allocations: 117.4 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.7308, allocations: 6.812 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.7312, allocations: 117.5 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7312, allocations: 5.531 kB / 0.954 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7312, allocations: 4 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7312, allocations: 3.938 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.7313, allocations: 180.2 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7313, allocations: 3.938 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.714e-05/0.7314, allocations: 19.08 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7314, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7315, allocations: 1.75 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7315, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7315, allocations: 3.984 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.7318, allocations: 208.7 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.7318, allocations: 83.75 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.7319, allocations: 4 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.732, allocations: 10.58 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.732, allocations: 10.5 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.732, allocations: 1.156 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.7321, allocations: 107.9 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7321, allocations: 0 / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002376/0.7323, allocations: 9.344 kB / 0.9546 GB, free: 4.707 MB / 0.7169 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.0001128/0.7324, allocations: 101.8 kB / 0.9547 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.7328, allocations: 79.36 kB / 0.9547 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7328, allocations: 0 / 0.9547 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.733, allocations: 43.98 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.7332, allocations: 8.094 kB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.7335, allocations: 208.4 kB / 0.955 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.7337, allocations: 0.6827 MB / 0.9557 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.7337, allocations: 10.12 kB / 0.9557 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7337, allocations: 0 / 0.9557 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.002268/0.736, allocations: 0.8896 MB / 0.9565 GB, free: 3.207 MB / 0.7169 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 -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