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.001209/0.001209, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001224/0.001224, allocations: 191.2 kB / 16.25 MB, free: 6.152 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.255/1.255, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7344 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 65.5 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2523, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001738/0.2541, allocations: 0.7713 MB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.2548, allocations: 0.8118 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.2548, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.2549, allocations: 3.984 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.2549, allocations: 7.922 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.514e-05/0.255, allocations: 12 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.2551, allocations: 47.84 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.2552, allocations: 8 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.2552, allocations: 19.92 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.2553, allocations: 19.86 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2553, allocations: 7.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.2553, allocations: 4 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2553, allocations: 7.984 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.2553, allocations: 27.86 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.409e-05/0.2554, allocations: 39.86 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2554, allocations: 0 / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2554, allocations: 0 / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2554, allocations: 0 / 1.054 GB, free: 6.801 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.0004166/0.2558, allocations: 359.7 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2559, allocations: 8.625 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.2559, allocations: 34.75 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.2559, allocations: 4.844 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/0.256, allocations: 176.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2561, allocations: 384 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2561, allocations: 384 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.2563, allocations: 78.16 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2563, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2564, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2564, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2566, allocations: 67.92 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2569, allocations: 272.8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2571, allocations: 54.64 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2572, allocations: 44.75 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2573, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2573, allocations: 34.56 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.2573, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004565/0.2578, allocations: 129.6 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.2578, allocations: 55.41 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.2579, allocations: 105.8 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2579, allocations: 29.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.2579, allocations: 84.14 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.2579, allocations: 7.812 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.258, allocations: 21.7 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.2581, allocations: 318.8 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.2582, allocations: 31.97 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2583, allocations: 31.95 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2586, allocations: 80.66 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2586, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002694/0.2588, allocations: 97.94 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2589, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.259, allocations: 23.92 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.259, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.2591, allocations: 15.97 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.2591, allocations: 0 / 1.056 GB, free: 4.43 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.259e-05/0.2592, allocations: 113.8 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2592, allocations: 7.906 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.2592, allocations: 7.906 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2592, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2592, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2592, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2594, allocations: 169.6 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.2594, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.2595, allocations: 11.98 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2595, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2595, allocations: 4 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2595, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2595, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.2598, allocations: 199.3 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.2598, allocations: 88.95 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2599, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.26, allocations: 15.98 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.26, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.26, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.2601, allocations: 91.56 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2601, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002029/0.2603, allocations: 8 kB / 1.057 GB, free: 3.605 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.0005563/0.2608, allocations: 0.728 MB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.2611, allocations: 67.86 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2611, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2613, allocations: 39.97 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2615, allocations: 15.92 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.2619, allocations: 171 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.2621, allocations: 0.6846 MB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.2621, allocations: 0 / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2622, allocations: 11.44 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2622, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.326/3.588, allocations: 1.417 MB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/3.588, allocations: 204.1 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/5.102, allocations: 3.938 kB / 1.06 GB, free: 244 kB / 0.8106 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