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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002537/0.002537, allocations: 221.9 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.271/3.271, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 69.25 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 180.2 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002162/0.3514, allocations: 0.71 MB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3525, allocations: 0.8358 MB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.3525, allocations: 0 / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.3526, allocations: 3.938 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.3526, allocations: 7.938 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.514e-05/0.3527, allocations: 11.98 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.3528, allocations: 51.78 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3529, allocations: 8 kB / 1.354 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.3529, allocations: 11.98 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.353, allocations: 27.86 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.353, allocations: 4 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.353, allocations: 0 / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.353, allocations: 15.97 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.3531, allocations: 15.94 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3532, allocations: 48.03 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3532, allocations: 4 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3532, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3532, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.045 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.0005801/0.3538, allocations: 286.2 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3538, allocations: 8.031 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3539, allocations: 30.75 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.3539, allocations: 4.938 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3541, allocations: 130.4 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3541, allocations: 384 / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3541, allocations: 4.375 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3543, allocations: 70.2 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3544, allocations: 3.938 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3544, allocations: 0 / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3544, allocations: 0 / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.3547, allocations: 71.86 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3551, allocations: 247.9 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3553, allocations: 50.53 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3555, allocations: 44.92 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3555, allocations: 0 / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3556, allocations: 38.55 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3556, allocations: 0 / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.3561, allocations: 129.5 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3561, allocations: 55.41 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3563, allocations: 105.8 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3563, allocations: 25.7 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.3563, allocations: 92.12 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3564, allocations: 7.906 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3564, allocations: 17.72 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3566, allocations: 318.8 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3567, allocations: 31.95 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3569, allocations: 31.97 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3571, allocations: 72.72 kB / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3571, allocations: 0 / 1.356 GB, free: 4.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003234/0.3575, allocations: 97.56 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3575, allocations: 8 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3575, allocations: 0 / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3575, allocations: 0 / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3576, allocations: 15.97 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3576, allocations: 8 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.3577, allocations: 12.31 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3577, allocations: 4 kB / 1.357 GB, free: 4.438 MB / 1.045 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 9.814e-05/0.3578, allocations: 113.7 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3579, allocations: 7.953 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3579, allocations: 11.98 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3579, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3579, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3579, allocations: 7.984 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3581, allocations: 144.6 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3581, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3582, allocations: 15.98 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3582, allocations: 0 / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3582, allocations: 3.938 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3582, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3582, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.3586, allocations: 203.4 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.3586, allocations: 3.953 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3586, allocations: 3.938 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3588, allocations: 11.98 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3588, allocations: 3.984 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3588, allocations: 8 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.3589, allocations: 83.28 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002243/0.3591, allocations: 8 kB / 1.357 GB, free: 3.746 MB / 1.045 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.0007114/0.3598, allocations: 0.724 MB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3601, allocations: 71.86 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3601, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3603, allocations: 47.89 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3606, allocations: 9.562 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.3611, allocations: 151.2 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3615, allocations: 0.6807 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.3615, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3616, allocations: 19.44 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3616, allocations: 0 / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.3904, allocations: 1.736 MB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 7.5 kB / 1.361 GB, free: 356 kB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.47809090418741]