Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_9_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.005219/0.005219, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001203/0.001203, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7377, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002275/0.74, allocations: 1.479 MB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.7404, allocations: 127.4 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.7404, allocations: 1.375 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.7405, allocations: 0.6562 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.7405, allocations: 10.38 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.7407, allocations: 20.88 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.7408, allocations: 43.61 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.7409, allocations: 7.609 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.741, allocations: 24.73 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.741, allocations: 23.03 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.7411, allocations: 4.406 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.7411, allocations: 20.7 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.7412, allocations: 13.91 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.7412, allocations: 23.45 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.7413, allocations: 61.86 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7414, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7414, allocations: 0.8438 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.7414, allocations: 0.75 kB / 1.089 GB, free: 4.043 MB / 0.8575 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.000426/0.7418, allocations: 375.1 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7419, allocations: 14.88 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.361e-05/0.7419, allocations: 35.41 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.7419, allocations: 8.5 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.742, allocations: 178.1 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.742, allocations: 1.5 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.742, allocations: 1.531 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.7423, allocations: 77.67 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7423, allocations: 3.938 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.7423, allocations: 1.266 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7423, allocations: 0.9062 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.7426, allocations: 76.11 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.7429, allocations: 288.1 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7431, allocations: 63.62 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.7433, allocations: 46.03 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.7435, allocations: 111.3 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.7435, allocations: 31.08 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7436, allocations: 1.312 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005857/0.7441, allocations: 150.2 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.7442, allocations: 57.17 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.7443, allocations: 127.3 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.7443, allocations: 26.52 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.7443, allocations: 92.77 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.7444, allocations: 10.06 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.7444, allocations: 13.83 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.7444, allocations: 318.2 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.7446, allocations: 40.22 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.7448, allocations: 39.09 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.7451, allocations: 88.73 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7451, allocations: 0 / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.7454, allocations: 112.1 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7454, allocations: 5.719 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7454, allocations: 0.7031 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7455, allocations: 0.7812 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7456, allocations: 15.59 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.7456, allocations: 0.5625 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.7457, allocations: 24.38 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7457, allocations: 0 / 1.092 GB, free: 2.09 MB / 0.8575 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 4.895e-05/0.7457, allocations: 119.8 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.7458, allocations: 3.375 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.7462, allocations: 126.4 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7462, allocations: 5.547 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7462, allocations: 0.8438 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7462, allocations: 3.938 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.7463, allocations: 184.2 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7463, allocations: 0 / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/0.7464, allocations: 19.19 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7464, allocations: 1.547 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7465, allocations: 0.8438 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7465, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7465, allocations: 1.641 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.7468, allocations: 211.5 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.7469, allocations: 84.09 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.7469, allocations: 0.75 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.747, allocations: 15.8 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.747, allocations: 11.41 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.7471, allocations: 1.406 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.7471, allocations: 101.1 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7471, allocations: 0 / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002329/0.7473, allocations: 9.938 kB / 1.092 GB, free: 1.344 MB / 0.8575 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.0006281/0.748, allocations: 0.7416 MB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.7484, allocations: 80.17 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7484, allocations: 5.031 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.7486, allocations: 47.08 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.7488, allocations: 7.469 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.7492, allocations: 185.8 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.7495, allocations: 0.6862 MB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.7495, allocations: 7.109 kB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.7496, allocations: 14.78 kB / 1.094 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7496, allocations: 0 / 1.094 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.7652, allocations: 1.912 MB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.352, allocations: 12 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches