Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001477/0.001477, allocations: 107.2 kB / 16.4 MB, free: 6.031 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.001747/0.001748, allocations: 191.7 kB / 19.35 MB, free: 3.602 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.494/1.494, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437.1 MB / 0.7171 GB, free: 4.039 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Integers.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 1.027 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8902, allocations: 151.6 MB / 1.175 GB, free: 17.43 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002872/0.8931, allocations: 0.7817 MB / 1.175 GB, free: 16.92 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.8945, allocations: 0.8633 MB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.8946, allocations: 1.438 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.8947, allocations: 9.281 kB / 1.176 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.8948, allocations: 14.06 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.8951, allocations: 37.84 kB / 1.176 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.8952, allocations: 87.48 kB / 1.176 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.8954, allocations: 26.73 kB / 1.176 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.8955, allocations: 40.19 kB / 1.177 GB, free: 16.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.8956, allocations: 53.05 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.8957, allocations: 8 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.8957, allocations: 10.91 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.8957, allocations: 19.83 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.8958, allocations: 35.02 kB / 1.177 GB, free: 16.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.896, allocations: 92.97 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.896, allocations: 0.6094 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.896, allocations: 1.219 kB / 1.177 GB, free: 16.05 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.896, allocations: 0 / 1.177 GB, free: 16.05 MB / 0.92 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.0006303/0.8966, allocations: 394.2 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.8967, allocations: 15.2 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.8967, allocations: 33.3 kB / 1.177 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.8968, allocations: 8.828 kB / 1.177 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.8969, allocations: 182.6 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.897, allocations: 3.875 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.897, allocations: 15.41 kB / 1.177 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.8974, allocations: 102.9 kB / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8974, allocations: 0 / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.8974, allocations: 0 / 1.177 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8974, allocations: 5.219 kB / 1.177 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.8978, allocations: 99.47 kB / 1.178 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.8984, allocations: 345 kB / 1.178 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.8991, allocations: 127.3 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.8993, allocations: 55 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.8993, allocations: 4.828 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.8993, allocations: 35.78 kB / 1.178 GB, free: 14.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8994, allocations: 4 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007057/0.9001, allocations: 179.7 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.9001, allocations: 53.25 kB / 1.178 GB, free: 14.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.9002, allocations: 127.3 kB / 1.178 GB, free: 14.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.9002, allocations: 27.39 kB / 1.178 GB, free: 14.62 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.9003, allocations: 96.84 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.9003, allocations: 19.48 kB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.9003, allocations: 23.59 kB / 1.179 GB, free: 14.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.9004, allocations: 318.2 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.9006, allocations: 45.03 kB / 1.179 GB, free: 14.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.9008, allocations: 55.67 kB / 1.179 GB, free: 14.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.9012, allocations: 98.05 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9012, allocations: 0 / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004197/0.9016, allocations: 138.7 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9016, allocations: 9.656 kB / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.9016, allocations: 0 / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9016, allocations: 2.219 kB / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.9018, allocations: 24.2 kB / 1.179 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.9018, allocations: 7.875 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.902, allocations: 16.73 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.902, allocations: 3.031 kB / 1.179 GB, free: 14.05 MB / 0.92 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,max1.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.096e-05/0.9021, allocations: 117.8 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.9021, allocations: 7.922 kB / 1.179 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.9026, allocations: 149.1 kB / 1.18 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9026, allocations: 5.094 kB / 1.18 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9026, allocations: 3.938 kB / 1.18 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9026, allocations: 1.641 kB / 1.18 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.9028, allocations: 201.8 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.9028, allocations: 0.7188 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.903, allocations: 28.69 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.903, allocations: 0 / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.903, allocations: 2.578 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.903, allocations: 1.594 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9031, allocations: 3.938 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.9035, allocations: 239.9 kB / 1.18 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.9036, allocations: 83.81 kB / 1.18 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.9036, allocations: 1.938 kB / 1.18 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.9038, allocations: 11.61 kB / 1.18 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.9039, allocations: 24.84 kB / 1.18 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9039, allocations: 11.53 kB / 1.18 GB, free: 13.36 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.9039, allocations: 101 kB / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.9039, allocations: 0 / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002433/0.9042, allocations: 16.47 kB / 1.18 GB, free: 13.27 MB / 0.92 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 (max1.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.0006956/0.9049, allocations: 0.7735 MB / 1.181 GB, free: 12.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.9054, allocations: 107.6 kB / 1.181 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9054, allocations: 0 / 1.181 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.9056, allocations: 57.88 kB / 1.181 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.906, allocations: 18.78 kB / 1.181 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.908, allocations: 1.538 MB / 1.183 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.9081, allocations: 0.6898 MB / 1.183 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.748e-05/0.9082, allocations: 15.8 kB / 1.183 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.9083, allocations: 31.41 kB / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.9083, allocations: 0 / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.9354, allocations: 2.699 MB / 1.186 GB, free: 10.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/9.045, allocations: 8.844 kB / 1.186 GB, free: 10.07 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.188126164954156]