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.005431/0.005431, allocations: 97.56 kB / 15.73 MB, free: 6.016 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.001298/0.001298, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.512/2.512, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8877, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002656/0.8904, allocations: 1.491 MB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00031/0.8907, allocations: 111 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.8908, allocations: 0 / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.8908, allocations: 3.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.8909, allocations: 7.938 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.8911, allocations: 27.91 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.8912, allocations: 39.91 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.8913, allocations: 15.98 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.8914, allocations: 15.92 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.8914, allocations: 19.91 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.8915, allocations: 4 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.8916, allocations: 23.92 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.8916, allocations: 15.94 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.8917, allocations: 23.86 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.8918, allocations: 67.31 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8918, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8918, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8918, allocations: 0 / 1.168 GB, free: 1.992 MB / 0.8887 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.0005479/0.8924, allocations: 384.1 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8924, allocations: 8.922 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.8925, allocations: 8.891 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.8926, allocations: 172.3 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8926, allocations: 8.375 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.8927, allocations: 384 / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.8929, allocations: 78.2 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8929, allocations: 4.125 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.893, allocations: 3.938 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.893, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.8933, allocations: 79.92 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.8937, allocations: 284.8 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.8939, allocations: 70.47 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.8941, allocations: 48.91 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.8944, allocations: 113 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8944, allocations: 34.5 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8944, allocations: 0 / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.895, allocations: 149.5 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.8951, allocations: 51.41 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.8952, allocations: 128.5 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.8952, allocations: 25.7 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.8953, allocations: 92.14 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.8953, allocations: 7.906 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.8953, allocations: 25.7 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8955, allocations: 314.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.8956, allocations: 35.95 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.8958, allocations: 35.91 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.8961, allocations: 88.77 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8961, allocations: 3.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003316/0.8964, allocations: 105.6 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.8964, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8965, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8965, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8966, allocations: 19.97 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.8966, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.8967, allocations: 11.98 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.8967, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 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.542e-05/0.8968, allocations: 121.7 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.8968, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.8972, allocations: 129.5 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8972, allocations: 384 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8972, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.8972, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.8974, allocations: 185.6 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8974, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.8975, allocations: 19.97 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8975, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.8976, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8976, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8976, allocations: 0 / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.8979, allocations: 211.3 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.898, allocations: 85 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.898, allocations: 7.984 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.8981, allocations: 15.92 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.8982, allocations: 4 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.8982, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.8983, allocations: 95.27 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8983, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002343/0.8985, allocations: 19.92 kB / 1.172 GB, free: 14.4 MB / 0.9044 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.0001502/0.8987, allocations: 103.2 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.899, allocations: 79.86 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.899, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.8992, allocations: 39.95 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.8994, allocations: 15.94 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.8998, allocations: 141.4 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.9, allocations: 0.6846 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.9001, allocations: 4 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.9001, allocations: 7.438 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9001, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.002982/0.9031, allocations: 0.8057 MB / 1.173 GB, free: 12.47 MB / 0.9044 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=480 -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