Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_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.001426/0.001426, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002496/0.002496, allocations: 189 kB / 16.25 MB, free: 6.152 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6643 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7692, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002376/0.7716, allocations: 1.544 MB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.7719, allocations: 113.3 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.772, allocations: 3.938 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.772, allocations: 0 / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.7721, allocations: 6.688 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.7723, allocations: 25.47 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.7724, allocations: 41.73 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.7725, allocations: 9.484 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.7725, allocations: 17.44 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.7726, allocations: 25.39 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.7726, allocations: 4.125 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.7726, allocations: 20.36 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.7727, allocations: 14.67 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.7727, allocations: 25.31 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.7728, allocations: 66.91 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7728, allocations: 1.375 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7728, allocations: 0 / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.7729, allocations: 0 / 0.951 GB, free: 7.602 MB / 0.7169 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.0004128/0.7733, allocations: 376.6 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7733, allocations: 9.625 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.7733, allocations: 3.688 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.7734, allocations: 180.2 kB / 0.9515 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7734, allocations: 5.75 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.7735, allocations: 1.75 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.7737, allocations: 76.28 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7737, allocations: 4.172 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.7737, allocations: 3.938 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7737, allocations: 1.375 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.774, allocations: 78.55 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.7743, allocations: 274.4 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.7745, allocations: 71.94 kB / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.7747, allocations: 46.84 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.7749, allocations: 111.2 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.7749, allocations: 31.69 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7749, allocations: 0 / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000514/0.7755, allocations: 147.3 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.7755, allocations: 51.41 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.7756, allocations: 129.8 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.7756, allocations: 29.64 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.7756, allocations: 95.03 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.7757, allocations: 9.344 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.7757, allocations: 16.25 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.7757, allocations: 325.7 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.7759, allocations: 32.47 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.776, allocations: 41.78 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.7763, allocations: 79.06 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7763, allocations: 3.938 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000289/0.7766, allocations: 110.1 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7766, allocations: 9.297 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7766, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7766, allocations: 5.125 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.7767, allocations: 18.64 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7768, allocations: 0 / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.7768, allocations: 14.83 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7769, allocations: 1.375 kB / 0.9532 GB, free: 5.477 MB / 0.7169 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 5.472e-05/0.7769, allocations: 126.1 kB / 0.9534 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.7769, allocations: 5.625 kB / 0.9534 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.7773, allocations: 118 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7773, allocations: 0 / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7773, allocations: 5.156 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7773, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.7774, allocations: 184.5 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7774, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.7775, allocations: 27.12 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.7776, allocations: 0 / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.7776, allocations: 0 / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7776, allocations: 1.469 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7776, allocations: 0 / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.7779, allocations: 212.6 kB / 0.9539 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.7779, allocations: 78.64 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.7779, allocations: 1.156 kB / 0.954 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.778, allocations: 10.33 kB / 0.954 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.7781, allocations: 6.172 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.7781, allocations: 5.531 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.7781, allocations: 102.9 kB / 0.9541 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7781, allocations: 0 / 0.9541 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000229/0.7784, allocations: 10.09 kB / 0.9541 GB, free: 4.66 MB / 0.7169 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.0001167/0.7785, allocations: 110 kB / 0.9542 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.7788, allocations: 86.03 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7789, allocations: 0 / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.779, allocations: 36.91 kB / 0.9543 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.7793, allocations: 18.3 kB / 0.9543 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.7796, allocations: 157.7 kB / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.7797, allocations: 0.6868 MB / 0.9552 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.7798, allocations: 14.17 kB / 0.9552 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.7798, allocations: 9.656 kB / 0.9552 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7798, allocations: 0 / 0.9552 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.002638/0.7824, allocations: 0.6964 MB / 0.9559 GB, free: 3.273 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches