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.001715/0.001715, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001763/0.001763, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 482.4 MB / 0.7553 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002118, allocations: 69.19 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8588, allocations: 162.2 MB / 1.083 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002519/0.8614, allocations: 1.487 MB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.8617, allocations: 111.3 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.8617, allocations: 1.156 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.8618, allocations: 4.688 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.8618, allocations: 6.797 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.862, allocations: 28.88 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.8621, allocations: 42.86 kB / 1.085 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.8622, allocations: 15.69 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.8623, allocations: 13.44 kB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.8623, allocations: 26.94 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.8623, allocations: 4 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.8624, allocations: 24.3 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.8625, allocations: 9.984 kB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.8625, allocations: 22.56 kB / 1.085 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.8626, allocations: 56.61 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8626, allocations: 6.406 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8626, allocations: 0 / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.8627, allocations: 0 / 1.085 GB, free: 388 kB / 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.0004559/0.8631, allocations: 382.9 kB / 1.085 GB, free: 16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.8632, allocations: 10 kB / 1.085 GB, free: 16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.8632, allocations: 7.469 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.8633, allocations: 174.9 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.8634, allocations: 1.438 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.8634, allocations: 5.469 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.8636, allocations: 74.86 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8637, allocations: 192 / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8637, allocations: 7.938 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8637, allocations: 0.875 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.864, allocations: 76.83 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.8644, allocations: 283.5 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.8646, allocations: 64.92 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.8648, allocations: 53.52 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.8651, allocations: 110.3 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8651, allocations: 31.73 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8651, allocations: 0 / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005918/0.8657, allocations: 151.6 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.8658, allocations: 52.11 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.8659, allocations: 128.2 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8659, allocations: 25.7 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.866, allocations: 96.89 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.866, allocations: 7.062 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.866, allocations: 20.52 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8662, allocations: 316.1 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.8664, allocations: 34.94 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.8665, allocations: 36.44 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.8668, allocations: 87.05 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.8668, allocations: 3.938 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003534/0.8672, allocations: 113.2 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8672, allocations: 4.406 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8672, allocations: 0.8438 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8672, allocations: 4.703 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.8674, allocations: 15.77 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.8674, allocations: 1.062 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.8675, allocations: 19.8 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.8675, allocations: 1.125 kB / 1.087 GB, free: 14.46 MB / 0.8419 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 8.997e-05/0.8676, allocations: 118.8 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.8676, allocations: 3.297 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.868, allocations: 128.4 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.868, allocations: 1 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.868, allocations: 0 / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.868, allocations: 0 / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.8683, allocations: 184.1 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8683, allocations: 0 / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.8684, allocations: 16.06 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8684, allocations: 8.609 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8684, allocations: 1.25 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.8684, allocations: 0 / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8684, allocations: 4.5 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.8688, allocations: 216.3 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.8689, allocations: 83.47 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.8689, allocations: 0.9062 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.869, allocations: 11.77 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.8691, allocations: 8.828 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8691, allocations: 0 / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.8692, allocations: 98.06 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8692, allocations: 0 / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002316/0.8694, allocations: 13.94 kB / 1.088 GB, free: 13.73 MB / 0.8419 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.000153/0.8696, allocations: 102.4 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.8699, allocations: 76.11 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8699, allocations: 0 / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.8701, allocations: 47.89 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.8704, allocations: 11.08 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.8708, allocations: 175.2 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8711, allocations: 0.6911 MB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.8712, allocations: 8.719 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.8712, allocations: 5.344 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.00273/0.8739, allocations: 0.8959 MB / 1.09 GB, free: 12.68 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches