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.001516/0.001516, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001639/0.001639, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.561/1.561, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.379/2.379, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9344, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003172/0.9377, allocations: 1.478 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003249/0.938, allocations: 118.3 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.9381, allocations: 1.344 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.9381, allocations: 9.016 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.9382, allocations: 7.391 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.9384, allocations: 25.05 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.9385, allocations: 38.81 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.9386, allocations: 11 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.9387, allocations: 17.45 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.9387, allocations: 23.86 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.9388, allocations: 7.531 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.9388, allocations: 24.19 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.9389, allocations: 18.14 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.9389, allocations: 19.17 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.9391, allocations: 57.55 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9391, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9391, allocations: 0.75 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.9391, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 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.0004772/0.9396, allocations: 379.8 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.9396, allocations: 9.281 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.9397, allocations: 7.156 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.9398, allocations: 178.1 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.9398, allocations: 2.391 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.9398, allocations: 5.375 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.9401, allocations: 77.77 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9401, allocations: 192 / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.9401, allocations: 4.844 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.9401, allocations: 5.031 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.9404, allocations: 75.52 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.9408, allocations: 276 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.941, allocations: 72.39 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.9412, allocations: 50.31 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.9414, allocations: 106 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.9414, allocations: 36.45 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.9414, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.942, allocations: 151.9 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/0.9421, allocations: 51.41 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.9422, allocations: 128.3 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.9422, allocations: 31.67 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.9422, allocations: 91.62 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.9422, allocations: 11.25 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.9423, allocations: 13.41 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.9423, allocations: 318.3 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.9425, allocations: 39.27 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.9426, allocations: 39.64 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.9429, allocations: 83.55 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9429, allocations: 3.938 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003403/0.9433, allocations: 113.2 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9433, allocations: 5.531 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9433, allocations: 0 / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9433, allocations: 0.6562 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.9435, allocations: 16.09 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9435, allocations: 0.625 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.9436, allocations: 15.62 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.9436, allocations: 5.422 kB / 1.093 GB, free: 2.371 MB / 0.8575 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.651e-05/0.9436, allocations: 122.4 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.9437, allocations: 7.359 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.9441, allocations: 118.9 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9441, allocations: 1.578 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9441, allocations: 0 / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.9441, allocations: 83.95 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.9441, allocations: 5.422 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.9443, allocations: 10.84 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.9443, allocations: 8.281 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004009/0.9447, allocations: 196.3 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003562/0.9451, allocations: 288.7 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000157/0.9453, allocations: 42.69 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.687e-05/0.9453, allocations: 96.64 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of Backend: time 4.2e-07/0.9453, allocations: 4 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.9458, allocations: 125.6 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003722/0.9462, allocations: 0.5911 MB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of Templates: time 0.003511/0.9497, allocations: 0.9958 MB / 1.095 GB, free: 0.8633 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches