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.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002333/0.002333, allocations: 195.9 kB / 16.14 MB, free: 6.695 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.386/2.386, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.775, allocations: 140.3 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002786/0.7778, allocations: 1.56 MB / 0.9504 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.7782, allocations: 110.1 kB / 0.9505 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.7782, allocations: 1.406 kB / 0.9505 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.7783, allocations: 3.938 kB / 0.9505 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.7784, allocations: 6 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.7786, allocations: 16.33 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.7787, allocations: 40.69 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.7788, allocations: 14.11 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.7789, allocations: 17.36 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.7789, allocations: 21.03 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.779, allocations: 6.5 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.779, allocations: 18.61 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.7791, allocations: 11.66 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.7791, allocations: 24.95 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.7793, allocations: 55.11 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7793, allocations: 3.938 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7793, allocations: 0 / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7793, allocations: 4 kB / 0.9508 GB, free: 7.684 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.0005035/0.7798, allocations: 381.7 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7799, allocations: 8.719 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.7799, allocations: 3.562 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.78, allocations: 180.7 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.78, allocations: 1.875 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.78, allocations: 1.656 kB / 0.9513 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.7803, allocations: 75.12 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7803, allocations: 1.25 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.7803, allocations: 3.938 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7804, allocations: 1.062 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.7807, allocations: 79.08 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.7811, allocations: 281.7 kB / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.7813, allocations: 68.94 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.7815, allocations: 46.06 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.7817, allocations: 111.5 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.7817, allocations: 31.5 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.7818, allocations: 0 / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005939/0.7823, allocations: 158.6 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.7824, allocations: 52.5 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.7825, allocations: 125.3 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.7825, allocations: 25.7 kB / 0.9523 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.7826, allocations: 90.95 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.7826, allocations: 5.469 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.7826, allocations: 20.73 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.7827, allocations: 324.2 kB / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.7828, allocations: 37.55 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.783, allocations: 33 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.7833, allocations: 90.95 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7833, allocations: 5.188 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.7836, allocations: 105.8 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7836, allocations: 4.844 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7837, allocations: 1.25 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7837, allocations: 0 / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.7838, allocations: 22.12 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.7838, allocations: 5.25 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.7839, allocations: 18.23 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.7839, allocations: 1.25 kB / 0.9531 GB, free: 5.551 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 6.749e-05/0.784, allocations: 113.6 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.784, allocations: 6.406 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.7844, allocations: 129 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7844, allocations: 1.594 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7844, allocations: 0 / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7845, allocations: 0 / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.7846, allocations: 184.4 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7846, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.7847, allocations: 14.39 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7847, allocations: 5.25 kB / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.7847, allocations: 4 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7847, allocations: 1 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7847, allocations: 0 / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.7851, allocations: 213.5 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.7851, allocations: 78.48 kB / 0.9538 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.7852, allocations: 9.203 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.7853, allocations: 10.45 kB / 0.9538 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.7853, allocations: 5.625 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.7853, allocations: 1.312 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.7854, allocations: 100.2 kB / 0.9539 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7854, allocations: 0 / 0.9539 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002339/0.7856, allocations: 9.75 kB / 0.9539 GB, free: 4.738 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.0001585/0.7858, allocations: 117.5 kB / 0.954 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.7862, allocations: 74.27 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7862, allocations: 0 / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.7864, allocations: 44.95 kB / 0.9541 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.7866, allocations: 12.14 kB / 0.9542 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.787, allocations: 170.4 kB / 0.9543 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.7871, allocations: 0.6843 MB / 0.955 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.7872, allocations: 0.6875 kB / 0.955 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.7872, allocations: 12.94 kB / 0.955 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.7872, allocations: 1.219 kB / 0.955 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.003092/0.7903, allocations: 0.6651 MB / 0.9556 GB, free: 3.375 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