Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 69.28 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003303/0.3187, allocations: 1.502 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.319, allocations: 107.7 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.3191, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.3191, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.3192, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.3193, allocations: 27.89 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.3194, allocations: 43.84 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.3195, allocations: 16 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.3196, allocations: 15.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.3196, allocations: 23.92 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3196, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.3197, allocations: 19.98 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.3197, allocations: 7.984 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.3198, allocations: 27.8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3199, allocations: 55.86 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3199, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3199, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3199, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 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.0004907/0.3204, allocations: 379.5 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3205, allocations: 8.031 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.3205, allocations: 34.69 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.3205, allocations: 8.844 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3207, allocations: 172.3 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3207, allocations: 4.375 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3207, allocations: 12.31 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3209, allocations: 70.22 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3209, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.321, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-06/0.321, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.3213, allocations: 75.92 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3216, allocations: 296.8 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.3218, allocations: 68.38 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.322, allocations: 48.91 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3222, allocations: 105.1 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3223, allocations: 34.56 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3223, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000542/0.3228, allocations: 153.4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3229, allocations: 51.41 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.323, allocations: 127 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.323, allocations: 29.7 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.323, allocations: 84.14 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3231, allocations: 15.81 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3231, allocations: 21.7 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3232, allocations: 314.8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3234, allocations: 35.95 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3235, allocations: 35.97 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3238, allocations: 81 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3238, allocations: 3.938 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.3242, allocations: 117.6 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3242, allocations: 4 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3242, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.3242, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3243, allocations: 23.97 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.3243, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.3244, allocations: 11.89 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3244, allocations: 4 kB / 1.068 GB, free: 9.711 MB / 0.8262 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.817e-05/0.3245, allocations: 117.8 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3245, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3249, allocations: 125.4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3249, allocations: 4 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3249, allocations: 3.938 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3249, allocations: 4 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3251, allocations: 177.6 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3251, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.3252, allocations: 15.98 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3252, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3252, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3253, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3253, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.3256, allocations: 215.2 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.3257, allocations: 85.02 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3257, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3258, allocations: 11.97 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.3258, allocations: 4 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.3259, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.3259, allocations: 100.9 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3259, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002117/0.3262, allocations: 12 kB / 1.069 GB, free: 8.734 MB / 0.8262 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.0006841/0.3268, allocations: 0.7474 MB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.3272, allocations: 87.86 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3272, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3273, allocations: 39.95 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3276, allocations: 11.94 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.328, allocations: 179.1 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3283, allocations: 0.6885 MB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.3283, allocations: 384 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.3283, allocations: 19.44 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of SimCode: time 2.114e-06/0.3284, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.533/1.862, allocations: 1.86 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.79, allocations: 9.188 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches