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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00164/0.00164, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.002149/0.002149, allocations: 192.5 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.38 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3068, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002857/0.3097, allocations: 1.489 MB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003397/0.31, allocations: 108.5 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.3101, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.3101, allocations: 7.938 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.3102, allocations: 3.938 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3104, allocations: 27.91 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.3105, allocations: 43.84 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.3106, allocations: 11.98 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.3107, allocations: 19.92 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.3107, allocations: 19.91 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3108, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.3108, allocations: 27.98 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.3109, allocations: 8 kB / 0.9529 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3109, allocations: 27.8 kB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3111, allocations: 51.86 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3111, allocations: 3.938 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3111, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3111, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 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.0005158/0.3116, allocations: 387.1 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3116, allocations: 16.03 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3117, allocations: 4.844 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3118, allocations: 176.2 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3118, allocations: 4.375 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3118, allocations: 384 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3121, allocations: 70.22 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.3121, allocations: 192 / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3121, allocations: 7.938 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3121, allocations: 4 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.3124, allocations: 83.84 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3128, allocations: 277 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.313, allocations: 74.41 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3131, allocations: 48.91 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.3134, allocations: 105.1 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3134, allocations: 34.56 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3134, allocations: 4 kB / 0.9542 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.3139, allocations: 145.4 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.314, allocations: 55.41 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3141, allocations: 125.8 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3141, allocations: 29.7 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.3142, allocations: 96.08 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3142, allocations: 3.906 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3142, allocations: 17.7 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3144, allocations: 314.8 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3145, allocations: 39.95 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3146, allocations: 35.97 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3149, allocations: 88.7 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3149, allocations: 3.938 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.3152, allocations: 109.5 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3153, allocations: 4 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3153, allocations: 0 / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3153, allocations: 0 / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3154, allocations: 23.97 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3154, allocations: 0 / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.3155, allocations: 11.98 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3155, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 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.839e-05/0.3156, allocations: 125.3 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3157, allocations: 7.906 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.316, allocations: 125.4 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.316, allocations: 0 / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.316, allocations: 0 / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.316, allocations: 0 / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3162, allocations: 189.6 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3162, allocations: 4 kB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.3163, allocations: 11.98 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3163, allocations: 0 / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.3164, allocations: 4 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3164, allocations: 0 / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3164, allocations: 384 / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.3167, allocations: 219.2 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3168, allocations: 81.11 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3168, allocations: 3.984 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3169, allocations: 11.98 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.317, allocations: 7.938 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.317, allocations: 0 / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.317, allocations: 99.25 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.317, allocations: 8 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000231/0.3173, allocations: 8 kB / 0.9561 GB, free: 2.621 MB / 0.7325 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.0001342/0.3174, allocations: 103.1 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.3177, allocations: 75.92 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3177, allocations: 0 / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3179, allocations: 51.89 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.3182, allocations: 11.84 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3185, allocations: 153.5 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3188, allocations: 0.6883 MB / 0.9571 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.3188, allocations: 8 kB / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.3188, allocations: 7.438 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3188, allocations: 0 / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of Templates: time 0.003228/0.3221, allocations: 0.7955 MB / 0.9579 GB, free: 0.6836 MB / 0.7325 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 -s gbode -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