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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005352/0.005352, allocations: 102.3 kB / 15.73 MB, free: 5.902 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.001205/0.001205, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.919/2.919, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.12 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3287, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002872/0.3316, allocations: 1.488 MB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.332, allocations: 111.7 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.3321, allocations: 4 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.3321, allocations: 3.938 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.3322, allocations: 7.922 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.3325, allocations: 27.91 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.67e-05/0.3326, allocations: 43.84 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3327, allocations: 8 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.3327, allocations: 19.98 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.3328, allocations: 23.84 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3328, allocations: 4 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.3329, allocations: 19.98 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.333, allocations: 11.98 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.333, allocations: 23.86 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3332, allocations: 55.81 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3332, allocations: 0 / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3332, allocations: 3.938 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3332, allocations: 4 kB / 1.209 GB, free: 8.277 MB / 0.9669 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.0005678/0.3338, allocations: 375.5 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3339, allocations: 12.62 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3339, allocations: 38.75 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.3339, allocations: 8.844 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3341, allocations: 178.5 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3341, allocations: 384 / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3341, allocations: 4.312 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3344, allocations: 78.22 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3344, allocations: 3.938 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3345, allocations: 3.938 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3345, allocations: 3.984 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.3348, allocations: 79.86 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.3352, allocations: 288.8 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3354, allocations: 62.53 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3355, allocations: 48.91 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.3358, allocations: 113.1 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3358, allocations: 30.56 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3358, allocations: 3.938 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.3364, allocations: 149.6 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3364, allocations: 51.41 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3366, allocations: 129.7 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3366, allocations: 25.7 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.3366, allocations: 96.12 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3367, allocations: 3.906 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3367, allocations: 17.72 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3368, allocations: 318.8 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.337, allocations: 35.95 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3371, allocations: 35.95 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3374, allocations: 92.66 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3374, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.3377, allocations: 105.5 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3377, allocations: 5.719 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3378, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3378, allocations: 7.984 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3379, allocations: 15.98 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3379, allocations: 0 / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.338, allocations: 11.98 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3381, allocations: 4 kB / 1.211 GB, free: 5.637 MB / 0.9669 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 9.497e-05/0.3382, allocations: 117.8 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3382, allocations: 7.906 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.3386, allocations: 125.5 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3386, allocations: 0 / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3386, allocations: 3.938 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3387, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3389, allocations: 181.6 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3389, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.339, allocations: 19.98 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.339, allocations: 3.984 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.339, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.339, allocations: 4 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.339, allocations: 0 / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3394, allocations: 215.3 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3395, allocations: 81.02 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3395, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3396, allocations: 15.98 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3397, allocations: 4 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3397, allocations: 8.406 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.3398, allocations: 97.39 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3398, allocations: 0 / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002444/0.34, allocations: 16 kB / 1.212 GB, free: 4.648 MB / 0.9669 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.0007433/0.3408, allocations: 0.7513 MB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3411, allocations: 79.91 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3411, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3413, allocations: 39.97 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3416, allocations: 8.969 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.3421, allocations: 191.1 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3425, allocations: 0.6923 MB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.3425, allocations: 7.859 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.3426, allocations: 19.42 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3426, allocations: 0 / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.3618, allocations: 1.92 MB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.037, allocations: 8.578 kB / 1.216 GB, free: 0.9375 MB / 0.9669 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