Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_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.001038/0.001038, allocations: 98.03 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.007949/0.007949, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.957/2.957, allocations: 470.6 MB / 0.7442 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004899, allocations: 10.22 kB / 0.9123 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3611, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001952/0.3631, allocations: 1.212 MB / 1.071 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.3635, allocations: 115.7 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.3636, allocations: 0 / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.3636, allocations: 0 / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.3637, allocations: 7.938 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3639, allocations: 19.92 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.364, allocations: 43.84 kB / 1.071 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3641, allocations: 8 kB / 1.071 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.3642, allocations: 27.91 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.3642, allocations: 15.92 kB / 1.071 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3642, allocations: 7.938 kB / 1.071 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.3643, allocations: 15.98 kB / 1.071 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.3644, allocations: 11.98 kB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3644, allocations: 45.56 kB / 1.071 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3646, allocations: 55.78 kB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3646, allocations: 0 / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3646, allocations: 0 / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.3646, allocations: 0 / 1.071 GB, free: 9.781 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.000614/0.3652, allocations: 387.5 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3653, allocations: 11.97 kB / 1.072 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3653, allocations: 8.938 kB / 1.072 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3655, allocations: 173 kB / 1.072 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3655, allocations: 384 / 1.072 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.3655, allocations: 8.375 kB / 1.072 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.3658, allocations: 78.22 kB / 1.072 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3658, allocations: 4.172 kB / 1.072 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3659, allocations: 7.938 kB / 1.072 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3659, allocations: 0 / 1.072 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.3662, allocations: 103.8 kB / 1.072 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.3666, allocations: 288.8 kB / 1.072 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3669, allocations: 78.47 kB / 1.073 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.3672, allocations: 60.91 kB / 1.073 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.3675, allocations: 105.1 kB / 1.073 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.3676, allocations: 34.56 kB / 1.073 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.3676, allocations: 0 / 1.073 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0009356/0.3686, allocations: 185.4 kB / 1.073 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3686, allocations: 51.41 kB / 1.073 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3688, allocations: 126.7 kB / 1.073 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3689, allocations: 29.7 kB / 1.073 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.369, allocations: 92.08 kB / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.369, allocations: 11.89 kB / 1.073 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3691, allocations: 9.719 kB / 1.073 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3693, allocations: 314.8 kB / 1.073 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.3696, allocations: 51.95 kB / 1.074 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3699, allocations: 43.97 kB / 1.074 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.3704, allocations: 104.8 kB / 1.074 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3704, allocations: 3.938 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005567/0.3709, allocations: 137.5 kB / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.371, allocations: 4 kB / 1.074 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.371, allocations: 4 kB / 1.074 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.371, allocations: 0 / 1.074 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3712, allocations: 23.97 kB / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3713, allocations: 3.938 kB / 1.074 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3714, allocations: 15.98 kB / 1.074 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3714, allocations: 4 kB / 1.074 GB, free: 7.023 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 0.000159/0.3716, allocations: 117.8 kB / 1.074 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3717, allocations: 7.906 kB / 1.074 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.3723, allocations: 149.4 kB / 1.074 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3723, allocations: 0 / 1.074 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3723, allocations: 0 / 1.074 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3723, allocations: 384 / 1.074 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3725, allocations: 185.6 kB / 1.074 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3726, allocations: 0 / 1.074 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3727, allocations: 23.98 kB / 1.074 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3727, allocations: 3.938 kB / 1.074 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3727, allocations: 3.984 kB / 1.074 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3727, allocations: 0 / 1.074 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3727, allocations: 0 / 1.074 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3732, allocations: 231.3 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.3732, allocations: 85.02 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3733, allocations: 11.98 kB / 1.075 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3734, allocations: 15.98 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.3734, allocations: 4 kB / 1.075 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3734, allocations: 0 / 1.075 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.836e-05/0.3735, allocations: 104.2 kB / 1.075 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 1.075 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002305/0.3738, allocations: 8 kB / 1.075 GB, free: 5.988 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.0001824/0.374, allocations: 108.2 kB / 1.075 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.3744, allocations: 103.9 kB / 1.075 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3744, allocations: 0 / 1.075 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.3745, allocations: 51.89 kB / 1.075 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3748, allocations: 13.48 kB / 1.075 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3752, allocations: 172.5 kB / 1.075 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3756, allocations: 0.6848 MB / 1.076 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.3757, allocations: 8 kB / 1.076 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.3757, allocations: 7.438 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3757, allocations: 0 / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.003485/0.3792, allocations: 0.653 MB / 1.077 GB, free: 4.145 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches