Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_11_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.005085/0.005085, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001484/0.001484, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 72.02 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3289, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002459/0.3314, allocations: 1.498 MB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.3317, allocations: 103.7 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.3318, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.3318, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.3319, allocations: 11.88 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.3321, allocations: 19.97 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.3322, allocations: 51.78 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.3323, allocations: 19.92 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.3323, allocations: 15.92 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.3324, allocations: 23.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3324, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.3325, allocations: 19.98 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.3325, allocations: 7.984 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3326, allocations: 23.86 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3327, allocations: 63.73 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3327, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3327, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3327, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 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.000524/0.3333, allocations: 379.1 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3333, allocations: 8.031 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.3333, allocations: 34.75 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3334, allocations: 8.891 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3335, allocations: 172.3 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3335, allocations: 8.312 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3335, allocations: 4.375 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3338, allocations: 74.2 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3338, allocations: 3.938 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.3338, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3338, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.3341, allocations: 75.92 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3345, allocations: 292.8 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3347, allocations: 70.47 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3349, allocations: 52.91 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.3351, allocations: 101.1 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3352, allocations: 34.55 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3352, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005463/0.3357, allocations: 149.5 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3358, allocations: 55.41 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3359, allocations: 125.8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3359, allocations: 25.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.336, allocations: 96.08 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.336, allocations: 7.953 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.336, allocations: 17.72 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3362, allocations: 318.8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3363, allocations: 35.95 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3365, allocations: 35.97 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3367, allocations: 84.72 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3368, allocations: 0 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003337/0.3371, allocations: 117.8 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3371, allocations: 7.938 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3371, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3371, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3373, allocations: 20.03 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3373, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.3374, allocations: 19.95 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3374, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 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 8.051e-05/0.3375, allocations: 117.8 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3375, allocations: 3.953 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.3379, allocations: 125.4 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3379, allocations: 4 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3379, allocations: 3.938 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3379, allocations: 0 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.3381, allocations: 181.6 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3381, allocations: 0 / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.3382, allocations: 15.98 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3382, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3382, allocations: 4 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3382, allocations: 4 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3382, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.3386, allocations: 207.4 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3387, allocations: 81.05 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3387, allocations: 8 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3388, allocations: 11.97 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3388, allocations: 8 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3388, allocations: 4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3389, allocations: 95.27 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3389, allocations: 3.938 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002167/0.3391, allocations: 12 kB / 1.225 GB, free: 8.82 MB / 0.9825 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.000694/0.3398, allocations: 0.748 MB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3402, allocations: 79.92 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3402, allocations: 0 / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3404, allocations: 43.89 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3406, allocations: 8 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.341, allocations: 190.9 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3413, allocations: 0.6924 MB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.3414, allocations: 7.938 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3414, allocations: 11.44 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3414, allocations: 0 / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7407/1.082, allocations: 1.887 MB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.29, allocations: 4.766 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches