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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.008218/0.008218, allocations: 97.59 kB / 15.73 MB, free: 6 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.0019/0.0019, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 64.12 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2952, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003109/0.2984, allocations: 1.489 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003748/0.2988, allocations: 111.7 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.2989, allocations: 0 / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.178e-05/0.2989, allocations: 7.938 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.299, allocations: 15.91 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2993, allocations: 23.91 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.2994, allocations: 43.86 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.2995, allocations: 11.98 kB / 1.244 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.2996, allocations: 11.94 kB / 1.244 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.2996, allocations: 23.91 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.2996, allocations: 4 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.2997, allocations: 23.98 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2998, allocations: 15.97 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2998, allocations: 19.88 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.3, allocations: 63.67 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3, allocations: 0 / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3, allocations: 0 / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3, allocations: 0 / 1.244 GB, free: 7.988 MB / 0.9981 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.0005745/0.3006, allocations: 379.2 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3006, allocations: 12.03 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.3007, allocations: 38.73 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.3007, allocations: 4.891 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3009, allocations: 172.3 kB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3009, allocations: 8.312 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3009, allocations: 4.375 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3012, allocations: 78.2 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3012, allocations: 7.938 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3012, allocations: 11.92 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3012, allocations: 0 / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.3015, allocations: 75.86 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.3019, allocations: 288.8 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.3022, allocations: 66.53 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3023, allocations: 40.92 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/0.3026, allocations: 105.1 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3026, allocations: 42.5 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3026, allocations: 0 / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005536/0.3032, allocations: 145.5 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3032, allocations: 51.41 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3033, allocations: 133.5 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3034, allocations: 25.7 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.3034, allocations: 96.12 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3035, allocations: 7.906 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3035, allocations: 17.72 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3036, allocations: 314.8 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3038, allocations: 39.97 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.304, allocations: 39.95 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.3043, allocations: 84.66 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3043, allocations: 0 / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003246/0.3046, allocations: 109.6 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3046, allocations: 4 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3046, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3046, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3048, allocations: 19.98 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3048, allocations: 0 / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.3049, allocations: 15.94 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3049, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 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.31e-05/0.305, allocations: 125.8 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.305, allocations: 4 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3054, allocations: 117.5 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3054, allocations: 3.938 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3054, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3054, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3056, allocations: 189.9 kB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3056, allocations: 0 / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.3057, allocations: 15.97 kB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3057, allocations: 4 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3057, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3057, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3057, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3061, allocations: 219.3 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.3062, allocations: 89 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.3062, allocations: 4 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3063, allocations: 15.98 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3063, allocations: 3.984 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3064, allocations: 0 / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.3064, allocations: 107.3 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3064, allocations: 0 / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002122/0.3067, allocations: 8 kB / 1.247 GB, free: 4.355 MB / 0.9981 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.3074, allocations: 0.744 MB / 1.248 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.3077, allocations: 79.91 kB / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3077, allocations: 4 kB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3079, allocations: 35.97 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3081, allocations: 14.02 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3086, allocations: 191 kB / 1.248 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3089, allocations: 0.6846 MB / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.309, allocations: 0 / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.309, allocations: 23.42 kB / 1.249 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 1.249 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4293/0.7383, allocations: 1.891 MB / 1.25 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.914, allocations: 7.078 kB / 1.25 GB, free: 0.6914 MB / 0.9981 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=400 --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