Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8868, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002672/0.8895, allocations: 0.7179 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.8907, allocations: 0.8051 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.8907, allocations: 0.9062 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.8908, allocations: 3.938 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.8908, allocations: 8.531 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.836e-05/0.8909, allocations: 13.53 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.891, allocations: 47.77 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.8912, allocations: 9.312 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.8912, allocations: 20.5 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.8913, allocations: 18.53 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.8913, allocations: 3.781 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.8913, allocations: 4.312 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.8914, allocations: 11.23 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.8914, allocations: 16.92 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.8915, allocations: 46.31 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8915, allocations: 0.5156 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8915, allocations: 4.75 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8916, allocations: 0 / 1.273 GB, free: 6.547 MB / 0.9981 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.000604/0.8922, allocations: 360.4 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8922, allocations: 9.625 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.8922, allocations: 36.34 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.8923, allocations: 11.36 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.8924, allocations: 169 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.8924, allocations: 6 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.8924, allocations: 2.031 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.8928, allocations: 68.38 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8928, allocations: 3.938 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.8928, allocations: 0.8438 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8928, allocations: 0.9062 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.8933, allocations: 65.91 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.8937, allocations: 275.5 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.894, allocations: 48.84 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.8943, allocations: 49.58 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.8943, allocations: 1 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.8943, allocations: 31.44 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.8943, allocations: 0 / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0008871/0.8952, allocations: 131.6 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.8952, allocations: 52.25 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.8953, allocations: 111.8 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.8953, allocations: 25.7 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.8953, allocations: 95.64 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.8954, allocations: 5.766 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.8954, allocations: 17.34 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.8955, allocations: 315 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.8957, allocations: 34.58 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.896, allocations: 34.94 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.8964, allocations: 69.06 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8964, allocations: 4.938 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005809/0.897, allocations: 98.92 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.897, allocations: 5.156 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.897, allocations: 3.938 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8971, allocations: 1.125 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8973, allocations: 19.69 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8973, allocations: 4.969 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8974, allocations: 15.41 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.8974, allocations: 1.156 kB / 1.275 GB, free: 4.719 MB / 0.9981 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 6.402e-05/0.8975, allocations: 111.8 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.8975, allocations: 1.125 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.8975, allocations: 10.88 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8976, allocations: 0 / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8976, allocations: 5.031 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8976, allocations: 4 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.8978, allocations: 168.2 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8978, allocations: 0 / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.8979, allocations: 16.81 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8979, allocations: 0 / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8979, allocations: 5.094 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8979, allocations: 0 / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8979, allocations: 4.875 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.8985, allocations: 200.9 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.8985, allocations: 81.06 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.8985, allocations: 0.9375 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.8987, allocations: 10.72 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.8988, allocations: 3.234 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.8988, allocations: 0.875 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.8988, allocations: 97.03 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8988, allocations: 0 / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004087/0.8993, allocations: 6.469 kB / 1.276 GB, free: 4.043 MB / 0.9981 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.0008135/0.9001, allocations: 0.7378 MB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.9006, allocations: 66.31 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9007, allocations: 0.7812 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.9009, allocations: 41.56 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.9014, allocations: 5.516 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.902, allocations: 181.8 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.9021, allocations: 0.679 MB / 1.278 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.9021, allocations: 6.25 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.9022, allocations: 16.05 kB / 1.278 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.9022, allocations: 4.875 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.9278, allocations: 1.617 MB / 1.279 GB, free: 18.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.773, allocations: 4.438 kB / 1.279 GB, free: 18.07 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.868425230990397]