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.007501/0.007501, allocations: 105.5 kB / 15.74 MB, free: 5.594 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.001707/0.001707, allocations: 193.8 kB / 16.67 MB, free: 5.531 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.12 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7641, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003237/0.7674, allocations: 1.501 MB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.7677, allocations: 111.7 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.7678, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.565e-05/0.7679, allocations: 7.922 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.768, allocations: 7.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.7682, allocations: 31.89 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.7683, allocations: 35.92 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.7684, allocations: 11.98 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.7685, allocations: 19.92 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.7686, allocations: 19.92 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.7686, allocations: 4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.7687, allocations: 23.92 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.7687, allocations: 15.98 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.7688, allocations: 19.86 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.7689, allocations: 59.8 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.769, allocations: 7.938 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.769, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.769, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 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.000564/0.7695, allocations: 377.5 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7696, allocations: 8.031 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.7696, allocations: 34.75 kB / 1.209 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.7697, allocations: 8.844 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7698, allocations: 176.2 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.7698, allocations: 384 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.7698, allocations: 4.375 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.7701, allocations: 74.2 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7701, allocations: 3.938 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.7701, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7701, allocations: 4 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.7705, allocations: 75.86 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.7709, allocations: 296.7 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.7711, allocations: 70.53 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.7713, allocations: 40.86 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.7715, allocations: 113.1 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.7716, allocations: 38.48 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.7716, allocations: 4 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006382/0.7722, allocations: 137.6 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.7723, allocations: 55.41 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.7724, allocations: 125.8 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7724, allocations: 33.7 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.7725, allocations: 88.05 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.7725, allocations: 11.91 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.7725, allocations: 9.719 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7726, allocations: 322.8 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.7728, allocations: 35.95 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.773, allocations: 39.97 kB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.7733, allocations: 80.94 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7733, allocations: 0 / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003571/0.7736, allocations: 121.5 kB / 1.211 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7737, allocations: 8 kB / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.7737, allocations: 0 / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7737, allocations: 0 / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7738, allocations: 11.98 kB / 1.211 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7738, allocations: 4 kB / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.7739, allocations: 15.91 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.7739, allocations: 4 kB / 1.211 GB, free: 9.004 MB / 0.9356 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.673e-05/0.774, allocations: 121.8 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.7741, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.7745, allocations: 121.4 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7745, allocations: 0 / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7745, allocations: 4 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7745, allocations: 4 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.7747, allocations: 181.5 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7747, allocations: 4 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7748, allocations: 19.98 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7748, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.7748, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.7749, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7749, allocations: 3.938 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.7753, allocations: 215.3 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.7753, allocations: 81.02 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.7753, allocations: 0 / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.7755, allocations: 15.92 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.7755, allocations: 7.984 kB / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7755, allocations: 0 / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.7756, allocations: 102.9 kB / 1.212 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7756, allocations: 4 kB / 1.212 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002349/0.7758, allocations: 8 kB / 1.212 GB, free: 8.02 MB / 0.9356 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.0007027/0.7765, allocations: 0.7552 MB / 1.213 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.7769, allocations: 75.92 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7769, allocations: 4 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.7771, allocations: 39.95 kB / 1.213 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7774, allocations: 9.719 kB / 1.213 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.7778, allocations: 179.1 kB / 1.213 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.7781, allocations: 0.6923 MB / 1.214 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.7781, allocations: 0 / 1.214 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.7782, allocations: 19.44 kB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.7782, allocations: 0 / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.7961, allocations: 1.924 MB / 1.216 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.62, allocations: 6.234 kB / 1.216 GB, free: 4.32 MB / 0.9356 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