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.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.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.0007369/0.0007369, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00467/0.00467, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 15.34 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2665, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.000831/0.2674, allocations: 444.4 kB / 1.059 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.2682, allocations: 0.804 MB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.2683, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.2683, allocations: 7.938 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.2684, allocations: 3.984 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.2685, allocations: 11.98 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.2685, allocations: 47.73 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.2686, allocations: 8 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.2687, allocations: 11.98 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.2687, allocations: 23.84 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2688, allocations: 8 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.2688, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2688, allocations: 4 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.2688, allocations: 37.62 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.88e-05/0.2689, allocations: 43.8 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2689, allocations: 0 / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2689, allocations: 0 / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2689, allocations: 0 / 1.06 GB, free: 3.395 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.0004481/0.2694, allocations: 367.7 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2694, allocations: 15.95 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.2695, allocations: 34.75 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.2695, allocations: 0.9375 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2696, allocations: 176.2 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2696, allocations: 384 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.2697, allocations: 384 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.2699, allocations: 82.22 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2699, allocations: 3.938 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2699, allocations: 3.984 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2699, allocations: 4 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2703, allocations: 83.92 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.2706, allocations: 276.8 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.2708, allocations: 66.53 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.271, allocations: 48.92 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.271, allocations: 4 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.271, allocations: 34.55 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.271, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000592/0.2716, allocations: 169.4 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2717, allocations: 51.41 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.2718, allocations: 113.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2718, allocations: 25.7 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.2718, allocations: 88.12 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2719, allocations: 11.91 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2719, allocations: 9.719 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.272, allocations: 314.8 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2722, allocations: 43.95 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2723, allocations: 43.97 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.2726, allocations: 92.72 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2727, allocations: 4 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003454/0.273, allocations: 129.3 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.273, allocations: 9.719 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.273, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2731, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2732, allocations: 31.97 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2732, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.2733, allocations: 15.98 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.2733, allocations: 0 / 1.062 GB, free: 0.8516 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 7.557e-05/0.2734, allocations: 113.8 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2734, allocations: 8 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.2735, allocations: 3.906 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2735, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2735, allocations: 4 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2735, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2737, allocations: 177.6 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2737, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.2738, allocations: 15.98 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2738, allocations: 8 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2738, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2738, allocations: 3.938 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2738, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.2742, allocations: 223.6 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2742, allocations: 81.09 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2743, allocations: 3.984 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2744, allocations: 19.98 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2744, allocations: 11.98 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2744, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.2745, allocations: 83.28 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2745, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002108/0.2747, allocations: 8 kB / 1.063 GB, free: 4 kB / 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.0006767/0.2754, allocations: 0.7591 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2757, allocations: 87.92 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2758, allocations: 4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2759, allocations: 43.95 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.2762, allocations: 11.94 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.2766, allocations: 170.1 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2769, allocations: 0.6848 MB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.2769, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.277, allocations: 11.44 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.277, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009781/0.2868, allocations: 1.288 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.287, allocations: 202.2 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.804, allocations: 6.875 kB / 1.066 GB, free: 12.71 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