Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.34 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2343, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001739/0.2361, allocations: 0.7003 MB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.2368, allocations: 0.8079 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.2369, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.2369, allocations: 3.938 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.237, allocations: 15.91 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.871e-05/0.237, allocations: 11.98 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.2371, allocations: 43.8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2372, allocations: 8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.2372, allocations: 19.98 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2373, allocations: 27.84 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2373, allocations: 4 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.2373, allocations: 7.938 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2373, allocations: 4 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.2374, allocations: 19.86 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.712e-05/0.2374, allocations: 39.86 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2375, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2375, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2375, allocations: 0 / 1.055 GB, free: 6.504 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.0004476/0.2379, allocations: 363.7 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.238, allocations: 12.62 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.238, allocations: 34.73 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.238, allocations: 4.844 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2381, allocations: 168.3 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2381, allocations: 384 / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2382, allocations: 8.375 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.2384, allocations: 66.22 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2384, allocations: 3.938 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2384, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2384, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.2387, allocations: 67.86 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.239, allocations: 272.8 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2392, allocations: 54.53 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2394, allocations: 44.91 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.2394, allocations: 4 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2394, allocations: 42.48 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2394, allocations: 0 / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005134/0.2399, allocations: 121.6 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.24, allocations: 51.41 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.2401, allocations: 113.8 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2401, allocations: 25.7 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.2401, allocations: 84.14 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2401, allocations: 15.8 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2402, allocations: 13.72 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.2403, allocations: 314.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2404, allocations: 35.95 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2406, allocations: 31.91 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2408, allocations: 76.66 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2408, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003091/0.2411, allocations: 101.6 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2412, allocations: 4 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2412, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2412, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2413, allocations: 23.97 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2413, allocations: 320 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.2414, allocations: 15.98 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2414, allocations: 4 kB / 1.057 GB, free: 4.129 MB / 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.246e-05/0.2415, allocations: 117.7 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2415, allocations: 3.906 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.2415, allocations: 7.906 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2416, allocations: 4 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2416, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2416, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.2417, allocations: 177.6 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2417, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.2418, allocations: 15.98 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2418, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2418, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2419, allocations: 3.984 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2419, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2422, allocations: 195.4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.2422, allocations: 89.33 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2423, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2424, allocations: 7.984 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.2424, allocations: 11.92 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2424, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.2425, allocations: 87.28 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2425, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002093/0.2427, allocations: 8 kB / 1.057 GB, free: 3.309 MB / 0.8106 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.0005924/0.2433, allocations: 0.728 MB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.2436, allocations: 75.86 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2436, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2438, allocations: 39.95 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2441, allocations: 7.938 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.2445, allocations: 167 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2447, allocations: 0.6845 MB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2447, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.2448, allocations: 15.44 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.2448, allocations: 0 / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.2649, allocations: 1.582 MB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.966, allocations: 8.531 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches