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.001111/0.001111, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001134/0.001134, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.338/2.338, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.45 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003368/0.3029, allocations: 1.547 MB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004025/0.3034, allocations: 112.5 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.3035, allocations: 0 / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.3036, allocations: 3.938 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.3037, allocations: 7.938 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.304, allocations: 23.97 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3041, allocations: 43.86 kB / 0.9515 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3042, allocations: 11.98 kB / 0.9515 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.3043, allocations: 19.86 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.3044, allocations: 23.91 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3044, allocations: 4 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.3045, allocations: 23.92 kB / 0.9515 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.3046, allocations: 15.98 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.3046, allocations: 15.88 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3048, allocations: 39.94 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3048, allocations: 4 kB / 0.9516 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3048, allocations: 0 / 0.9516 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3048, allocations: 0 / 0.9516 GB, free: 7.328 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.0006635/0.3055, allocations: 383.4 kB / 0.952 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3055, allocations: 12.03 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.3056, allocations: 4.844 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3058, allocations: 172.3 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3058, allocations: 8.312 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3058, allocations: 4.375 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3061, allocations: 78.14 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3061, allocations: 192 / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3062, allocations: 7.938 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3062, allocations: 0 / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3065, allocations: 79.92 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.3069, allocations: 277 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3072, allocations: 74.39 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3073, allocations: 48.92 kB / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.3077, allocations: 105.1 kB / 0.9528 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3077, allocations: 34.56 kB / 0.9528 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3077, allocations: 0 / 0.9528 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/0.3083, allocations: 149.5 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3083, allocations: 55.39 kB / 0.953 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3085, allocations: 121.8 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3085, allocations: 25.7 kB / 0.9532 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.3086, allocations: 100.1 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3086, allocations: 3.906 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.3086, allocations: 21.66 kB / 0.9533 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3088, allocations: 318.8 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3089, allocations: 35.97 kB / 0.9536 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.309, allocations: 35.95 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3093, allocations: 84.78 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3093, allocations: 3.938 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003151/0.3096, allocations: 109.5 kB / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3097, allocations: 4 kB / 0.9539 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3097, allocations: 0 / 0.9539 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3097, allocations: 7.938 kB / 0.9539 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3098, allocations: 19.92 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3099, allocations: 4 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.3099, allocations: 11.98 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.31, allocations: 0 / 0.9539 GB, free: 4.73 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 0.0001092/0.3101, allocations: 121.8 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3101, allocations: 7.906 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.3105, allocations: 117.5 kB / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3105, allocations: 3.938 kB / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3105, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3105, allocations: 3.984 kB / 0.9542 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.3107, allocations: 181.6 kB / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3107, allocations: 0 / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.3108, allocations: 15.97 kB / 0.9543 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3108, allocations: 8 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3108, allocations: 3.938 kB / 0.9544 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.3108, allocations: 0 / 0.9544 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3109, allocations: 0 / 0.9544 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.3112, allocations: 207.7 kB / 0.9545 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3113, allocations: 85.11 kB / 0.9546 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3113, allocations: 0 / 0.9546 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3114, allocations: 12.03 kB / 0.9546 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3114, allocations: 11.97 kB / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3114, allocations: 0 / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.3115, allocations: 103 kB / 0.9548 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3115, allocations: 0 / 0.9548 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000231/0.3118, allocations: 8 kB / 0.9548 GB, free: 3.754 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.0001667/0.3119, allocations: 111.2 kB / 0.9549 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.3123, allocations: 79.84 kB / 0.9549 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3123, allocations: 0 / 0.9549 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3125, allocations: 43.95 kB / 0.955 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3127, allocations: 15.84 kB / 0.955 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.3131, allocations: 187.2 kB / 0.9552 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3135, allocations: 0.6922 MB / 0.9559 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.3135, allocations: 15.44 kB / 0.9559 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 1.854e-06/0.3135, allocations: 4 kB / 0.9559 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of Templates: time 0.002715/0.3163, allocations: 0.8931 MB / 0.9567 GB, free: 1.66 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 -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