Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_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.001208/0.001208, 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.001211/0.001211, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.44 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2711, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002778/0.274, allocations: 1.561 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.2743, allocations: 115.7 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.2744, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.2744, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.2745, allocations: 7.922 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.2747, allocations: 23.91 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.2747, allocations: 47.86 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.2748, allocations: 8 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.2749, allocations: 19.92 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.2749, allocations: 19.91 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.275, allocations: 4 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.275, allocations: 19.92 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2751, allocations: 11.98 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.2751, allocations: 19.86 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.2753, allocations: 55.8 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2753, allocations: 8 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2753, allocations: 0 / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2753, allocations: 0 / 1.054 GB, free: 6.293 MB / 0.8106 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.0004812/0.2758, allocations: 371.5 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2758, allocations: 15.97 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.2759, allocations: 38.69 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.2759, allocations: 12.83 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.276, allocations: 175.5 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.276, allocations: 4.375 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.276, allocations: 384 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2763, allocations: 82.2 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2763, allocations: 3.938 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2763, allocations: 3.938 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2763, allocations: 0 / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.2766, allocations: 79.92 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.277, allocations: 284.8 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2772, allocations: 66.53 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2774, allocations: 48.91 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.2776, allocations: 109.1 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.2776, allocations: 30.56 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2776, allocations: 0 / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005456/0.2782, allocations: 149.4 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2782, allocations: 55.41 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.2783, allocations: 125.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2784, allocations: 25.7 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2784, allocations: 92.12 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2784, allocations: 15.81 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2785, allocations: 13.72 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.2786, allocations: 322.8 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.2787, allocations: 31.97 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2789, allocations: 35.95 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.2792, allocations: 92.66 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2792, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003273/0.2795, allocations: 102 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2795, allocations: 9.703 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2795, allocations: 3.984 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2796, allocations: 8 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2797, allocations: 11.98 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2797, allocations: 3.938 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.2798, allocations: 11.98 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2798, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 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.989e-05/0.2799, allocations: 121.8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2799, allocations: 7.906 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.2803, allocations: 121.5 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2803, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2803, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2803, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2805, allocations: 185.6 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2805, allocations: 3.938 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2806, allocations: 23.97 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2806, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2806, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2806, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2806, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.281, allocations: 219.2 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.281, allocations: 81.02 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2811, allocations: 4 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2812, allocations: 11.98 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.2812, allocations: 3.984 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2812, allocations: 4 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.2813, allocations: 99.27 kB / 1.057 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2813, allocations: 0 / 1.057 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002273/0.2815, allocations: 8 kB / 1.057 GB, free: 2.676 MB / 0.8106 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.0006461/0.2822, allocations: 0.7397 MB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.2825, allocations: 87.84 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2825, allocations: 0 / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2827, allocations: 35.97 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.2829, allocations: 19.55 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.2834, allocations: 204.8 kB / 1.058 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2836, allocations: 0.6848 MB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.2836, allocations: 7.844 kB / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2837, allocations: 23.42 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2837, allocations: 0 / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3053, allocations: 1.621 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.3055, allocations: 202.7 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.976, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches