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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001133/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001165/0.001165, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.34 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00272/0.3256, allocations: 1.488 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.326, allocations: 111.7 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.326, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.3261, allocations: 3.938 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3262, allocations: 15.86 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3264, allocations: 19.98 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.3265, allocations: 47.84 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.3266, allocations: 15.98 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.3267, allocations: 15.92 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.3267, allocations: 23.91 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3268, allocations: 7.938 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.3268, allocations: 19.98 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.3269, allocations: 8 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.3269, allocations: 27.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.3271, allocations: 55.86 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3271, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3271, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3271, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 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.0005392/0.3277, allocations: 383.5 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3277, allocations: 8.031 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3277, allocations: 8.844 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.3279, allocations: 172.3 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3279, allocations: 4.375 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3279, allocations: 4.375 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3282, allocations: 74.2 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3282, allocations: 192 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3282, allocations: 7.875 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3282, allocations: 3.938 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3285, allocations: 79.92 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3289, allocations: 277 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3291, allocations: 70.47 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3293, allocations: 48.91 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.3295, allocations: 113 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3296, allocations: 34.5 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3296, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.3302, allocations: 145.6 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3302, allocations: 55.41 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.3303, allocations: 121.8 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3303, allocations: 29.7 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3304, allocations: 95.98 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.3304, allocations: 7.906 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3305, allocations: 17.7 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3306, allocations: 318.8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3308, allocations: 35.95 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3309, allocations: 39.91 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3312, allocations: 84.77 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3312, allocations: 3.938 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003812/0.3316, allocations: 109.5 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3316, allocations: 8 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3317, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3317, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3318, allocations: 15.97 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3318, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.3319, allocations: 7.984 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3319, allocations: 4 kB / 1.072 GB, free: 5.941 MB / 0.8262 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.734e-05/0.332, allocations: 123.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.332, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.3324, allocations: 125.5 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3324, allocations: 4.312 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3324, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3325, allocations: 4 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3326, allocations: 181.6 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.3326, allocations: 7.922 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3327, allocations: 19.98 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3328, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.3332, allocations: 219.2 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.3332, allocations: 81.02 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3332, allocations: 3.984 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3333, allocations: 11.98 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3334, allocations: 8 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3334, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.3335, allocations: 98.64 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3335, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002309/0.3337, allocations: 11.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 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.0001316/0.3338, allocations: 107.2 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3342, allocations: 79.86 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3342, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3344, allocations: 39.95 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3346, allocations: 15.94 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.335, allocations: 149.4 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3352, allocations: 0.6885 MB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.3353, allocations: 7.859 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3353, allocations: 15.44 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3353, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.00289/0.3382, allocations: 0.8012 MB / 1.075 GB, free: 3.004 MB / 0.8262 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches