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.001165/0.001165, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001355/0.001355, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.949/2.949, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 11.94 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3847, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002534/0.3873, allocations: 1.195 MB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004985/0.3879, allocations: 103.8 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.388, allocations: 0 / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.388, allocations: 3.984 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3882, allocations: 11.92 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3885, allocations: 15.98 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3887, allocations: 35.86 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.3888, allocations: 11.98 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.3889, allocations: 15.92 kB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.389, allocations: 15.92 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3891, allocations: 4 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3892, allocations: 15.98 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.3893, allocations: 19.92 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3893, allocations: 33.7 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.3895, allocations: 35.92 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.3895, allocations: 4 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.029e-06/0.3895, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3895, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 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.0008815/0.3904, allocations: 391.3 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.3905, allocations: 8.031 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3906, allocations: 7.906 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3908, allocations: 167 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3908, allocations: 3.938 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3909, allocations: 7.953 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.3913, allocations: 85.64 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3913, allocations: 0 / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3913, allocations: 7.938 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.3913, allocations: 0 / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.3918, allocations: 95.92 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.3924, allocations: 284.9 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.3927, allocations: 78.47 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.3929, allocations: 52.92 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.3933, allocations: 117.1 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3933, allocations: 30.56 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.3933, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0007095/0.394, allocations: 181.5 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3941, allocations: 59.34 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3942, allocations: 125 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3943, allocations: 25.7 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.3943, allocations: 96.06 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3944, allocations: 7.906 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.3944, allocations: 4 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3945, allocations: 326.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3947, allocations: 43.97 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.3949, allocations: 52.14 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3951, allocations: 44.05 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3951, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004301/0.3956, allocations: 137.5 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.3956, allocations: 8 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3956, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3957, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.3958, allocations: 23.92 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3959, allocations: 3.984 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.396, allocations: 23.98 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.396, allocations: 4 kB / 1.062 GB, free: 1.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3961, allocations: 113.8 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.3962, allocations: 7.906 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.3967, allocations: 141.5 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3967, allocations: 4 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3967, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3968, allocations: 3.938 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.397, allocations: 177.6 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3971, allocations: 11.94 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.3972, allocations: 19.92 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3972, allocations: 0 / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3972, allocations: 4 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3972, allocations: 0 / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3972, allocations: 0 / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.3978, allocations: 227.4 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3979, allocations: 89.06 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3979, allocations: 0 / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3981, allocations: 23.97 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.3981, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3981, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.3982, allocations: 95.27 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3982, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003745/0.3986, allocations: 31.89 kB / 1.063 GB, free: 120 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.3989, allocations: 95.25 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.3993, allocations: 103.9 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3994, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.3996, allocations: 55.95 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3999, allocations: 4 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.4004, allocations: 160.6 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4008, allocations: 0.6848 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.4009, allocations: 11.86 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.4009, allocations: 7.438 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of SimCode: time 3.917e-06/0.4009, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.004268/0.4052, allocations: 0.66 MB / 1.065 GB, free: 14.29 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