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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001192/0.001192, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.248/1.248, 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.2-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.09 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6828, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003181/0.686, allocations: 1.539 MB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.6864, allocations: 114.6 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.6865, allocations: 1.375 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.6866, allocations: 3.984 kB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.6867, allocations: 9.297 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.6869, allocations: 16.11 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.687, allocations: 49.66 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.6871, allocations: 9.5 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.6871, allocations: 21.42 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.6872, allocations: 18.8 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.6872, allocations: 1.375 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.6873, allocations: 18.98 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.6874, allocations: 14.72 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.6874, allocations: 25.3 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.6875, allocations: 50.94 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6875, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6876, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6876, allocations: 1.375 kB / 0.9509 GB, free: 7.699 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.0004977/0.6881, allocations: 384.9 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6881, allocations: 9.625 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.6882, allocations: 34.75 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.6882, allocations: 3.688 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.6883, allocations: 184.2 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.6883, allocations: 5.688 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.6883, allocations: 7.125 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.6886, allocations: 74.97 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6886, allocations: 3.938 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6886, allocations: 0 / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6887, allocations: 5.312 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.6889, allocations: 74.55 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.6893, allocations: 286.2 kB / 0.9519 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.6895, allocations: 68.59 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6897, allocations: 43.06 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.69, allocations: 114.8 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.69, allocations: 32 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.69, allocations: 0 / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005742/0.6906, allocations: 150.2 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.6906, allocations: 52.47 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.6907, allocations: 132.5 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.6908, allocations: 25.7 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.6908, allocations: 86.86 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.6908, allocations: 10.34 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.6909, allocations: 15.98 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.6909, allocations: 321.1 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.6911, allocations: 41.55 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.6912, allocations: 33.44 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.6915, allocations: 78.84 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6915, allocations: 4 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.6918, allocations: 123 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6919, allocations: 4 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6919, allocations: 1.438 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6919, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.692, allocations: 18.34 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.692, allocations: 4 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.6921, allocations: 15.17 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.6921, allocations: 4.969 kB / 0.9532 GB, free: 5.512 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 7.533e-05/0.6922, allocations: 118 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.6922, allocations: 7.031 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.6926, allocations: 121.4 kB / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6926, allocations: 0 / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6926, allocations: 3.938 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6926, allocations: 1.406 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.6928, allocations: 184.2 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6928, allocations: 0 / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.6929, allocations: 18.55 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6929, allocations: 0 / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6929, allocations: 1.375 kB / 0.9537 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.693, allocations: 4 kB / 0.9537 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.693, allocations: 4 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.6933, allocations: 209.8 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.6934, allocations: 78.48 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6934, allocations: 0 / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.6935, allocations: 19.25 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.6935, allocations: 2.469 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.6936, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.6936, allocations: 100.3 kB / 0.9541 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6936, allocations: 3.938 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002371/0.6939, allocations: 17.86 kB / 0.9541 GB, free: 4.691 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.0005959/0.6945, allocations: 0.7408 MB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.6948, allocations: 78.89 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6948, allocations: 4 kB / 0.9549 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.695, allocations: 44.48 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6952, allocations: 6.781 kB / 0.9549 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.6957, allocations: 196.8 kB / 0.9551 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.6959, allocations: 0.6916 MB / 0.9558 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.6959, allocations: 5.047 kB / 0.9558 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.696, allocations: 17.53 kB / 0.9558 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.696, allocations: 0 / 0.9558 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.521/2.217, allocations: 1.615 MB / 0.9574 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.217, allocations: 202 kB / 0.9576 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/4.892, allocations: 6.594 kB / 0.9576 GB, free: 1.938 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > 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