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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_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.001404/0.001404, allocations: 108 kB / 15.61 MB, free: 152 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.001556/0.001556, allocations: 197 kB / 16.53 MB, free: 6.664 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.12 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6838, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002879/0.6867, allocations: 1.481 MB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.6871, allocations: 112.5 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.6871, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.6872, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.6873, allocations: 15.86 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.6875, allocations: 19.97 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.6876, allocations: 47.8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.6877, allocations: 15.98 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.6877, allocations: 11.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.6878, allocations: 31.84 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.6878, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.6879, allocations: 19.98 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.6879, allocations: 11.98 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.688, allocations: 19.88 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6881, allocations: 55.8 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6881, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6881, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.6881, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 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.0005778/0.6887, allocations: 382.9 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.6887, allocations: 8.031 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.6888, allocations: 8.844 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.689, allocations: 180.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.689, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.689, allocations: 8.375 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.6893, allocations: 82.14 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6893, allocations: 192 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.6893, allocations: 3.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6893, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.6896, allocations: 75.91 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.69, allocations: 284.9 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.6903, allocations: 74.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.6905, allocations: 44.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.6907, allocations: 109.1 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.6907, allocations: 30.56 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6907, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006041/0.6914, allocations: 153.5 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.6914, allocations: 51.41 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.6915, allocations: 125.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6916, allocations: 29.64 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.6916, allocations: 88.14 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.6916, allocations: 11.89 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.6917, allocations: 17.72 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6918, allocations: 318.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.692, allocations: 39.89 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.6922, allocations: 39.95 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.6925, allocations: 76.78 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6925, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003458/0.6928, allocations: 109.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.6928, allocations: 8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6929, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6929, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.693, allocations: 27.91 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.693, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.6931, allocations: 11.92 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.6931, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 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.435e-05/0.6932, allocations: 117.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.6932, allocations: 3.906 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.6936, allocations: 121.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6937, allocations: 4.375 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6937, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6937, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.6939, allocations: 181.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6939, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.694, allocations: 23.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.694, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.694, allocations: 7.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.694, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.694, allocations: 7.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.6944, allocations: 203.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.6945, allocations: 81.09 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.6945, allocations: 12 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6946, allocations: 11.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.6947, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.6947, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.6948, allocations: 105 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6948, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002311/0.695, allocations: 12 kB / 1.022 GB, free: 13.01 MB / 0.7794 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.0001705/0.6952, allocations: 95.25 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.6956, allocations: 83.86 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6956, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6958, allocations: 39.95 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.696, allocations: 15.69 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.6964, allocations: 165.4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.6967, allocations: 0.6845 MB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.6967, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.6968, allocations: 11.44 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6968, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.00331/0.7001, allocations: 0.7805 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (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) 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) Reference file matches