Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0009004/0.0009004, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008414/0.0008414, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8985/0.8985, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.618e-05, allocations: 5.516 kB / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00134/0.001356, allocations: 0.7456 MB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.002173, allocations: 0.8548 MB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.002213, allocations: 0 / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.002243, allocations: 7.922 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.002317, allocations: 15.88 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.002458, allocations: 35.83 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.002544, allocations: 71.83 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.002652, allocations: 19.97 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.002733, allocations: 39.91 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.002784, allocations: 19.97 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.002808, allocations: 8 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.00282, allocations: 8 kB / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.002841, allocations: 19.91 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.002868, allocations: 23.92 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.002972, allocations: 83.72 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002975, allocations: 0 / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002976, allocations: 0 / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00298, allocations: 0 / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004018/0.003382, allocations: 306 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.003422, allocations: 8.031 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.003453, allocations: 34.75 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.003479, allocations: 16.86 kB / 0.9528 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.003577, allocations: 121.7 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.00359, allocations: 384 / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.003602, allocations: 16.31 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.003754, allocations: 82.14 kB / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003761, allocations: 192 / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.003772, allocations: 4.375 kB / 0.953 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003777, allocations: 4.125 kB / 0.953 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.003911, allocations: 67.94 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.004254, allocations: 279.8 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.004414, allocations: 90.47 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.004482, allocations: 36.92 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004497, allocations: 0 / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.004521, allocations: 38.56 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.004522, allocations: 0 / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0002888/0.004811, allocations: 137.7 kB / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.004841, allocations: 59.39 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.004922, allocations: 121.9 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.004933, allocations: 29.7 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.004974, allocations: 92.12 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.004997, allocations: 23.8 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.00503, allocations: 21.7 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.005107, allocations: 310.8 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.00517, allocations: 31.97 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.005229, allocations: 31.97 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.005353, allocations: 76.75 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005355, allocations: 3.938 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002937/0.005649, allocations: 101.7 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.00566, allocations: 7.938 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005664, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005675, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.005756, allocations: 15.98 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00576, allocations: 4 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.0058, allocations: 11.98 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.005807, allocations: 4 kB / 0.9546 GB, free: 15.09 MB / 0.9167 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 (6): * Single equations (assignments): 6 * 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 5.902e-05/0.005866, allocations: 121.7 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.005882, allocations: 3.953 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.005903, allocations: 12.44 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.005906, allocations: 3.984 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.00591, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.005912, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.006029, allocations: 156.6 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00603, allocations: 8 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.006074, allocations: 11.98 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.006076, allocations: 4 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.006083, allocations: 3.938 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.006084, allocations: 256 / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.006086, allocations: 4 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.00627, allocations: 207.4 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-06/0.006279, allocations: 3.953 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006291, allocations: 7.938 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.006341, allocations: 11.98 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.006391, allocations: 15.98 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.006394, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.00643, allocations: 95.27 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006431, allocations: 0 / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001487/0.006579, allocations: 11.94 kB / 0.9552 GB, free: 14.35 MB / 0.9167 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 (6): * Single equations (assignments): 6 * 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.0003416/0.006921, allocations: 0.7358 MB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.007089, allocations: 79.88 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007091, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.007165, allocations: 39.97 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.007362, allocations: 3.938 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.008494, allocations: 1.463 MB / 0.9575 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.008538, allocations: 71.33 kB / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.008574, allocations: 12 kB / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.00863, allocations: 24.48 kB / 0.9576 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.00863, allocations: 0 / 0.9576 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.02558, allocations: 3.084 MB / 0.9606 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.751, allocations: 5.688 kB / 0.9606 GB, free: 8.855 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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: 10.783582529053092]