Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_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.001345/0.001345, 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.001241/0.001241, allocations: 197.9 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.838/2.838, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 69.86 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2554, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001993/0.2575, allocations: 0.701 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.2584, allocations: 0.804 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.2584, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.2584, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.2585, allocations: 11.91 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.404e-05/0.2586, allocations: 15.98 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.2587, allocations: 47.8 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.2588, allocations: 11.98 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.2588, allocations: 15.94 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.2589, allocations: 23.91 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2589, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.2589, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2589, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.259, allocations: 19.86 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.488e-05/0.2591, allocations: 43.86 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2591, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2591, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2591, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 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.0005337/0.2596, allocations: 359.7 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2597, allocations: 12.02 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.2597, allocations: 30.75 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.2597, allocations: 8.844 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2599, allocations: 180.2 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2599, allocations: 4.375 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2599, allocations: 384 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.2602, allocations: 66.22 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2602, allocations: 7.938 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2602, allocations: 7.984 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2602, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.2606, allocations: 67.88 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.2609, allocations: 264.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.2612, allocations: 62.47 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.2613, allocations: 44.92 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2614, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2614, allocations: 38.55 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2614, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000564/0.262, allocations: 129.5 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.262, allocations: 51.41 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.888e-05/0.2621, allocations: 105.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2621, allocations: 25.7 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.2622, allocations: 92.12 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2622, allocations: 7.812 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2622, allocations: 17.72 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2624, allocations: 314.8 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2626, allocations: 39.89 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2627, allocations: 27.97 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.263, allocations: 76.72 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.263, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003474/0.2634, allocations: 97.56 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2634, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2634, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2634, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2636, allocations: 23.97 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2636, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.2637, allocations: 11.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2637, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 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 7.704e-05/0.2638, allocations: 109.8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2638, allocations: 7.906 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.2638, allocations: 8.234 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2638, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2638, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2638, allocations: 7.969 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.264, allocations: 169.6 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.264, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2641, allocations: 15.98 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2642, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2642, allocations: 0 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2646, allocations: 207.3 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.2646, allocations: 84.95 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2647, allocations: 3.938 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2648, allocations: 15.98 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.2648, allocations: 7.984 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2648, allocations: 4 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2649, allocations: 87.27 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002238/0.2651, allocations: 8 kB / 1.069 GB, free: 9.258 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.0007574/0.2659, allocations: 0.7338 MB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.2663, allocations: 67.92 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2663, allocations: 3.938 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.2665, allocations: 47.95 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.2667, allocations: 1.875 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.2672, allocations: 165.4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2675, allocations: 0.6846 MB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.2675, allocations: 0 / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.2676, allocations: 11.44 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2676, allocations: 0 / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.2894, allocations: 1.581 MB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.805, allocations: 7.312 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches