Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001451/0.001451, allocations: 188.2 kB / 16.13 MB, free: 6.645 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4921, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001671/0.4938, allocations: 0.7561 MB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006064/0.4944, allocations: 0.8012 MB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.4945, allocations: 0 / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.4945, allocations: 3.938 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.4946, allocations: 5.406 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.4946, allocations: 10.05 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.4947, allocations: 40.33 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.4948, allocations: 12.27 kB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.4948, allocations: 17.92 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.4949, allocations: 21.38 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.4949, allocations: 2.344 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.4949, allocations: 2.844 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.4949, allocations: 13.14 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.495, allocations: 14.56 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.858e-05/0.495, allocations: 34.69 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.495, allocations: 5.438 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.495, allocations: 0 / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.4951, allocations: 0 / 0.9508 GB, free: 7.773 MB / 0.7169 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.0003732/0.4954, allocations: 369.6 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4955, allocations: 9.469 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.287e-05/0.4955, allocations: 30.75 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.4955, allocations: 7.688 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.876e-05/0.4956, allocations: 175 kB / 0.9513 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4956, allocations: 5.75 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.4956, allocations: 5.688 kB / 0.9513 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.4958, allocations: 66.84 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4959, allocations: 5.312 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4959, allocations: 4 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4959, allocations: 0 / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.4961, allocations: 67.67 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.4964, allocations: 270.6 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4966, allocations: 57.92 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.4967, allocations: 45.53 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.4967, allocations: 0 / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.4967, allocations: 31.94 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4967, allocations: 0 / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004562/0.4972, allocations: 142 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.4972, allocations: 51.41 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.4973, allocations: 111.6 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.4973, allocations: 26.52 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.062e-05/0.4973, allocations: 85.67 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.4973, allocations: 13.31 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.4974, allocations: 16.38 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.4974, allocations: 317.4 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4975, allocations: 27.88 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4977, allocations: 33.61 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4979, allocations: 72.02 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4979, allocations: 0 / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002718/0.4982, allocations: 104.5 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4982, allocations: 6.094 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4982, allocations: 0 / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.4982, allocations: 4 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4984, allocations: 19.23 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4984, allocations: 0 / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.175e-05/0.4984, allocations: 11.83 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.4985, allocations: 0 / 0.9529 GB, free: 5.75 MB / 0.7169 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 4.52e-05/0.4985, allocations: 115.6 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.4985, allocations: 2.188 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.4986, allocations: 17.27 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4986, allocations: 0 / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4986, allocations: 5.25 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.4986, allocations: 0 / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.4987, allocations: 169.3 kB / 0.9532 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4987, allocations: 0 / 0.9532 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.4988, allocations: 18.66 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4988, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.4988, allocations: 1.156 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4988, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4988, allocations: 9.031 kB / 0.9532 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.4991, allocations: 195.5 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.4991, allocations: 78.48 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4991, allocations: 5.453 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.4992, allocations: 18.7 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.4993, allocations: 1.25 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4993, allocations: 1.719 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.4993, allocations: 89.42 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4993, allocations: 0 / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000207/0.4995, allocations: 5.531 kB / 0.9536 GB, free: 5.023 MB / 0.7169 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.0004694/0.5, allocations: 0.7364 MB / 0.9543 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.5003, allocations: 66.45 kB / 0.9544 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5003, allocations: 4 kB / 0.9544 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.5005, allocations: 32.94 kB / 0.9544 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.5007, allocations: 13.95 kB / 0.9544 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.5011, allocations: 161.4 kB / 0.9546 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.046e-05/0.5012, allocations: 0.6841 MB / 0.9552 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.5012, allocations: 9.781 kB / 0.9552 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.5013, allocations: 11.44 kB / 0.9552 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.5013, allocations: 1.438 kB / 0.9552 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.55/1.051, allocations: 1.341 MB / 0.9566 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.051, allocations: 216.1 kB / 0.9568 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.831, allocations: 0 / 0.9568 GB, free: 2.426 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches