Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.001002/0.001002, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006079/0.006079, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6954, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00087/0.6963, allocations: 494 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6973, allocations: 0.8428 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.6974, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.6974, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.6975, allocations: 7.984 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.6977, allocations: 23.98 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.6978, allocations: 67.83 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.6979, allocations: 19.98 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.698, allocations: 31.83 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.6981, allocations: 35.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.6982, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.6982, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.6982, allocations: 11.98 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.6983, allocations: 49.5 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.6984, allocations: 67.73 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6984, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6984, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6984, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 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.0005279/0.6989, allocations: 369.6 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.699, allocations: 12.03 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.699, allocations: 38.67 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.699, allocations: 8.844 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.6992, allocations: 180.2 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6992, allocations: 8.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.6992, allocations: 384 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.6995, allocations: 94.14 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6995, allocations: 3.938 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6995, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6995, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.6998, allocations: 87.88 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.7002, allocations: 324.7 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.7005, allocations: 98.5 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.7006, allocations: 44.89 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.7006, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.7006, allocations: 38.56 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.7007, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004751/0.7011, allocations: 149.5 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.7012, allocations: 55.41 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.7013, allocations: 117.8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.7013, allocations: 25.7 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.7013, allocations: 100.1 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.7014, allocations: 15.72 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.7014, allocations: 13.72 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7016, allocations: 326.7 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.7017, allocations: 35.97 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.7018, allocations: 31.98 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.702, allocations: 80.81 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7021, allocations: 112 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002824/0.7023, allocations: 121.5 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7024, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7024, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.7024, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7025, allocations: 27.91 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7026, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.7026, allocations: 8 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.7027, allocations: 3.984 kB / 1.027 GB, free: 11.57 MB / 0.7794 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 9.535e-05/0.7028, allocations: 122.2 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.7028, allocations: 11.91 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.7028, allocations: 8.375 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7028, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7028, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7028, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.703, allocations: 206 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7031, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.7032, allocations: 23.92 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7032, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7032, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7032, allocations: 8 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7032, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.7036, allocations: 215.3 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.7036, allocations: 85.09 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.7036, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.7038, allocations: 12 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.7038, allocations: 15.97 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.7038, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.7039, allocations: 95.7 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7039, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.7041, allocations: 12 kB / 1.028 GB, free: 10.68 MB / 0.7794 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.0006638/0.7048, allocations: 0.7513 MB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.7051, allocations: 83.94 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7051, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.7053, allocations: 51.84 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.7056, allocations: 18.33 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.7073, allocations: 1.479 MB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.7076, allocations: 0.6965 MB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.7077, allocations: 4 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.7077, allocations: 23.42 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7077, allocations: 0 / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.7192, allocations: 1.973 MB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.7195, allocations: 192.5 kB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.412, allocations: 3.938 kB / 1.033 GB, free: 5.336 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches