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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005009/0.005009, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001234/0.001234, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.864/2.864, allocations: 469.4 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3281, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003026/0.3312, allocations: 1.492 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.3316, allocations: 103.7 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.3316, allocations: 4 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.3317, allocations: 3.938 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.3318, allocations: 11.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.332, allocations: 27.91 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.3321, allocations: 39.86 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.3322, allocations: 7.984 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.3323, allocations: 19.98 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.3324, allocations: 19.86 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3324, allocations: 4 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.3325, allocations: 23.92 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.3325, allocations: 11.98 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.3326, allocations: 31.84 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.3327, allocations: 55.75 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3327, allocations: 3.938 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3327, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3328, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 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.0005429/0.3333, allocations: 383.1 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3334, allocations: 12.03 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.3334, allocations: 30.75 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3334, allocations: 12.89 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3336, allocations: 175.8 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3336, allocations: 384 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3336, allocations: 4.359 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.3339, allocations: 82.09 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3339, allocations: 3.938 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3339, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3339, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.3342, allocations: 79.92 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3346, allocations: 288.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3349, allocations: 66.53 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.335, allocations: 52.84 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.3353, allocations: 109.1 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3354, allocations: 34.56 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3354, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000579/0.336, allocations: 145.6 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.336, allocations: 51.41 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3361, allocations: 125.8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3361, allocations: 25.7 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.3362, allocations: 100.1 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3362, allocations: 3.953 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3363, allocations: 21.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3364, allocations: 314.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3365, allocations: 39.89 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3367, allocations: 31.97 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.337, allocations: 89 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.337, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003416/0.3374, allocations: 113.5 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3374, allocations: 9.25 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3374, allocations: 3.984 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3374, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3376, allocations: 11.98 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3376, allocations: 7.922 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.3377, allocations: 15.98 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.3377, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 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 8.08e-05/0.3378, allocations: 114.3 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3378, allocations: 15.89 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3382, allocations: 121.5 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3382, allocations: 0 / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3382, allocations: 0 / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3382, allocations: 3.938 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3384, allocations: 181.6 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3384, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.3385, allocations: 19.98 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3385, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3386, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3386, allocations: 3.938 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3386, allocations: 0 / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.339, allocations: 215.4 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.339, allocations: 81.05 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3391, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3392, allocations: 15.97 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3392, allocations: 4 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3392, allocations: 4 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.3393, allocations: 95.27 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3393, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.3396, allocations: 16 kB / 1.225 GB, free: 9.152 MB / 0.9825 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.000718/0.3403, allocations: 0.7474 MB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3407, allocations: 75.92 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3407, allocations: 0 / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3408, allocations: 43.95 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3411, allocations: 13.66 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.3416, allocations: 198.9 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3419, allocations: 0.6885 MB / 1.226 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.3419, allocations: 0 / 1.226 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.342, allocations: 19.44 kB / 1.226 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.342, allocations: 0 / 1.226 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.3612, allocations: 1.897 MB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.074, allocations: 7.938 kB / 1.228 GB, free: 5.469 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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