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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008922/0.0008923, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00489/0.00489, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8.062 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.329, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001868/0.3309, allocations: 1.214 MB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004345/0.3314, allocations: 111.7 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.3314, allocations: 0 / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.3315, allocations: 7.922 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.269e-05/0.3316, allocations: 3.938 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.3319, allocations: 15.98 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.332, allocations: 47.84 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3321, allocations: 19.91 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.3321, allocations: 11.98 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.3322, allocations: 23.86 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3322, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.3323, allocations: 19.98 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.3324, allocations: 11.98 kB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.3324, allocations: 45.56 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3325, allocations: 55.8 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3326, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3326, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3326, allocations: 0 / 1.06 GB, free: 3.906 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.0005442/0.3331, allocations: 383.5 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3332, allocations: 12.03 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3332, allocations: 4.844 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3334, allocations: 175.5 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3334, allocations: 8.359 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.3334, allocations: 4.375 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3338, allocations: 90.09 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3338, allocations: 192 / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3338, allocations: 7.938 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3339, allocations: 0 / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3342, allocations: 99.92 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.3347, allocations: 292.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.335, allocations: 82.47 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3352, allocations: 56.84 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.3354, allocations: 101.1 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3355, allocations: 42.55 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3355, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006583/0.3362, allocations: 173.6 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3362, allocations: 51.41 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3363, allocations: 125.8 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3364, allocations: 29.7 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3364, allocations: 99.98 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3365, allocations: 3.906 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.3365, allocations: 13.72 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3366, allocations: 318.8 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.3368, allocations: 55.89 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3369, allocations: 43.97 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.3372, allocations: 100.8 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3372, allocations: 3.938 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003548/0.3376, allocations: 133.5 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3376, allocations: 8 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3376, allocations: 0 / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3377, allocations: 4 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3378, allocations: 15.98 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3378, allocations: 7.984 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.3379, allocations: 23.91 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3379, allocations: 4 kB / 1.063 GB, free: 1.141 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.338, allocations: 117.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.338, allocations: 336 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.3385, allocations: 145.5 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3385, allocations: 0 / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3385, allocations: 4 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3385, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.3387, allocations: 189.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3387, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.3388, allocations: 23.98 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3388, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3388, allocations: 7.938 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3388, allocations: 3.938 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3388, allocations: 3.938 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.3393, allocations: 227.4 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3393, allocations: 81.02 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3393, allocations: 8 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3394, allocations: 15.98 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3395, allocations: 7.984 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3395, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.3396, allocations: 95.27 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3396, allocations: 4 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002264/0.3398, allocations: 8 kB / 1.064 GB, free: 116 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 (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.0001529/0.34, allocations: 103.2 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.3404, allocations: 107.9 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3404, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3406, allocations: 51.95 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3408, allocations: 11.94 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.3412, allocations: 168.6 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.3415, allocations: 0.6926 MB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.3415, allocations: 7.859 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3415, allocations: 11.44 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3415, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.003237/0.3448, allocations: 0.6673 MB / 1.065 GB, free: 14.25 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