Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001434/0.001434, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.00222/0.00222, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.528/1.528, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.774/2.774, allocations: 476.7 MB / 0.7611 GB, free: 15.84 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.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 67.89 kB / 1.104 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 168.7 MB / 1.269 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002057/1.12, allocations: 0.7715 MB / 1.27 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001323/1.121, allocations: 0.8665 MB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/1.121, allocations: 0.8438 kB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/1.121, allocations: 9.281 kB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/1.122, allocations: 10.55 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/1.122, allocations: 44.53 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/1.122, allocations: 88.17 kB / 1.271 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/1.122, allocations: 21.52 kB / 1.271 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/1.122, allocations: 40.41 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/1.122, allocations: 45.06 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/1.122, allocations: 8.031 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/1.122, allocations: 7.469 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/1.122, allocations: 28.14 kB / 1.271 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/1.122, allocations: 35.09 kB / 1.271 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/1.123, allocations: 89.02 kB / 1.271 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.123, allocations: 0 / 1.271 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/1.123, allocations: 0 / 1.271 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.123, allocations: 0.875 kB / 1.271 GB, free: 6.395 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007396/1.123, allocations: 398.5 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.123, allocations: 9.719 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/1.124, allocations: 38.17 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/1.124, allocations: 12.64 kB / 1.271 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/1.124, allocations: 183.6 kB / 1.271 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.124, allocations: 6.766 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/1.124, allocations: 12.28 kB / 1.271 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/1.124, allocations: 101.4 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.124, allocations: 0 / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.124, allocations: 1.031 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.124, allocations: 1.781 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/1.125, allocations: 105.2 kB / 1.272 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/1.125, allocations: 336.4 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/1.126, allocations: 124.8 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/1.126, allocations: 52.83 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.126, allocations: 4.75 kB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/1.126, allocations: 32.23 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.126, allocations: 0.9375 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000649/1.127, allocations: 197.2 kB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/1.127, allocations: 52.72 kB / 1.272 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.127, allocations: 128.5 kB / 1.272 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.127, allocations: 26.61 kB / 1.273 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/1.127, allocations: 96.67 kB / 1.273 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/1.127, allocations: 19.73 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/1.127, allocations: 23.19 kB / 1.273 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/1.127, allocations: 319 kB / 1.273 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.127, allocations: 43.78 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.127, allocations: 45.19 kB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/1.128, allocations: 99.91 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.128, allocations: 0.6094 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003956/1.128, allocations: 143.5 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.128, allocations: 4.75 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/1.128, allocations: 4.906 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.128, allocations: 4.875 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.128, allocations: 23.8 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.128, allocations: 4.75 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.128, allocations: 15.83 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/1.128, allocations: 3.75 kB / 1.273 GB, free: 4.383 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.897e-05/1.128, allocations: 118 kB / 1.273 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/1.128, allocations: 11.45 kB / 1.273 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/1.129, allocations: 10.33 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.129, allocations: 0.875 kB / 1.273 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.129, allocations: 4.844 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.129, allocations: 0.7031 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/1.129, allocations: 195.6 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.129, allocations: 0.9062 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/1.129, allocations: 31.41 kB / 1.274 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.129, allocations: 3.938 kB / 1.274 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.129, allocations: 1.719 kB / 1.274 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.129, allocations: 4.906 kB / 1.274 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.129, allocations: 5.484 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/1.129, allocations: 235 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/1.129, allocations: 83.47 kB / 1.274 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/1.129, allocations: 2.281 kB / 1.274 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/1.129, allocations: 14.22 kB / 1.274 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/1.13, allocations: 25.95 kB / 1.274 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/1.13, allocations: 4.312 kB / 1.274 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.633e-05/1.13, allocations: 96.58 kB / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.13, allocations: 0 / 1.274 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002349/1.13, allocations: 12.09 kB / 1.274 GB, free: 3.656 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006793/1.131, allocations: 0.7788 MB / 1.275 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004156/1.131, allocations: 106.6 kB / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.131, allocations: 0 / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/1.131, allocations: 60.34 kB / 1.275 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/1.131, allocations: 12.92 kB / 1.275 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.134, allocations: 1.548 MB / 1.277 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/1.134, allocations: 0.6886 MB / 1.277 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.258e-05/1.134, allocations: 14.09 kB / 1.277 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/1.134, allocations: 29.06 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.134, allocations: 0 / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/1.158, allocations: 2.721 MB / 1.28 GB, free: 16.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.355, allocations: 3.062 kB / 1.28 GB, free: 16.44 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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: 15.757770423777401]