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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009187/0.0009186, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005969/0.005969, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 15.7 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3045, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001308/0.3059, allocations: 1.214 MB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.3061, allocations: 115.7 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.3062, allocations: 3.938 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.3062, allocations: 7.938 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.3063, allocations: 15.91 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.3064, allocations: 15.98 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.3065, allocations: 35.86 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.3066, allocations: 19.92 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.3066, allocations: 11.94 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.3067, allocations: 19.91 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3067, allocations: 4 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.837e-05/0.3068, allocations: 23.98 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3068, allocations: 3.984 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3068, allocations: 53.5 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.699e-05/0.3069, allocations: 47.86 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.307, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.307, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.307, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 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.0004463/0.3074, allocations: 383.6 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3075, allocations: 11.97 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.3075, allocations: 38.75 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.3075, allocations: 4.844 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.37e-05/0.3076, allocations: 168.3 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3077, allocations: 4.375 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3077, allocations: 384 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3079, allocations: 94.14 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3079, allocations: 7.875 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.3079, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.308, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.3083, allocations: 99.92 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.3086, allocations: 296.7 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3088, allocations: 78.47 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.309, allocations: 60.91 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.3092, allocations: 105.1 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3092, allocations: 34.56 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3092, allocations: 0 / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005483/0.3098, allocations: 185.6 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3098, allocations: 51.41 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.3099, allocations: 124.7 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3099, allocations: 25.7 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.31, allocations: 100 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.31, allocations: 11.84 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.31, allocations: 9.719 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.3101, allocations: 322.8 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3103, allocations: 47.91 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3104, allocations: 47.95 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.3107, allocations: 104.7 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3107, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003346/0.311, allocations: 137.5 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3111, allocations: 4 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.3111, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3111, allocations: 4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3112, allocations: 23.92 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3112, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3113, allocations: 15.98 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3113, allocations: 4 kB / 1.063 GB, free: 448 kB / 0.8106 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 6.882e-05/0.3114, allocations: 125.8 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.3114, allocations: 3.906 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3118, allocations: 137.5 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3118, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3118, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3118, allocations: 7.984 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.312, allocations: 181.5 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.312, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.3121, allocations: 23.97 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3121, allocations: 7.938 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3121, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3121, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3121, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.3125, allocations: 227.4 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.3126, allocations: 81.44 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3126, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3127, allocations: 15.98 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3127, allocations: 7.984 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3127, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.3128, allocations: 99.27 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3128, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002167/0.313, allocations: 12 kB / 1.064 GB, free: 15.41 MB / 0.8262 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.0006148/0.3136, allocations: 0.7708 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.314, allocations: 103.9 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.314, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3142, allocations: 55.89 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3144, allocations: 22.55 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.3148, allocations: 194.3 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.315, allocations: 0.6848 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.315, allocations: 11.86 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.3151, allocations: 23.36 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3151, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.849/4.164, allocations: 1.556 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/4.164, allocations: 200.4 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/6.153, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8262 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