Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_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.001248/0.001248, 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.001431/0.001432, allocations: 195.7 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.285/1.285, 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 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7104 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 63.89 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7451, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00291/0.7481, allocations: 1.487 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.7484, allocations: 116.5 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.7485, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.7486, allocations: 7.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.7486, allocations: 7.938 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.7488, allocations: 23.91 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.7489, allocations: 47.84 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.749, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.382e-05/0.7491, allocations: 19.98 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.7491, allocations: 19.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.7491, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.7492, allocations: 19.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.7493, allocations: 15.98 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.7493, allocations: 23.88 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.7494, allocations: 59.78 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7494, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7494, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7495, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 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.000496/0.75, allocations: 390.8 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.75, allocations: 12.03 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.75, allocations: 34.75 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.7501, allocations: 8.844 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7502, allocations: 173.4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7502, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.7502, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.7505, allocations: 82.14 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7505, allocations: 7.922 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7505, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7505, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.7508, allocations: 75.86 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.7512, allocations: 288.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.7514, allocations: 66.53 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.7516, allocations: 40.92 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.7518, allocations: 109.1 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.7518, allocations: 34.56 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7518, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005506/0.7524, allocations: 153.4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.7524, allocations: 51.41 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7525, allocations: 129.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.7526, allocations: 25.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.7526, allocations: 100.1 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.7526, allocations: 3.906 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.7527, allocations: 17.72 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7528, allocations: 314.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.753, allocations: 35.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.7531, allocations: 39.95 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.7534, allocations: 88.66 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7534, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003458/0.7538, allocations: 113.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7538, allocations: 6.031 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7538, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.7538, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.7539, allocations: 15.98 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.754, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.754, allocations: 19.92 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.7541, allocations: 3.984 kB / 1.022 GB, free: 14 MB / 0.7794 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.502e-05/0.7542, allocations: 117.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.7542, allocations: 11.91 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.7546, allocations: 121.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7546, allocations: 4.359 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7546, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7546, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.7548, allocations: 185.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7548, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.7549, allocations: 15.98 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7549, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.7549, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7549, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7549, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.7553, allocations: 215.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.7554, allocations: 81.11 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.7554, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.7555, allocations: 11.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.7555, allocations: 7.984 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.7555, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.7556, allocations: 103.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7556, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002232/0.7558, allocations: 12 kB / 1.022 GB, free: 13.02 MB / 0.7794 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.0007161/0.7566, allocations: 0.7435 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.7569, allocations: 79.84 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7569, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.7571, allocations: 43.95 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.7573, allocations: 8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.7579, allocations: 187.2 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.7582, allocations: 0.6846 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.7582, allocations: 11.94 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.7583, allocations: 15.44 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7583, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.7756, allocations: 1.843 MB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.2, allocations: 6.812 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches