Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 212.2 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 70.88 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3727, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002252/0.3749, allocations: 0.7592 MB / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3761, allocations: 0.886 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.3761, allocations: 7.938 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.3761, allocations: 3.938 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.3762, allocations: 11.86 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3764, allocations: 39.95 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3766, allocations: 91.75 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3767, allocations: 24.27 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.3768, allocations: 35.91 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.3769, allocations: 43.81 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3769, allocations: 11.94 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.3769, allocations: 8 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.3769, allocations: 15.98 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.377, allocations: 31.86 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3771, allocations: 91.53 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3771, allocations: 4 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3771, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3771, allocations: 0 / 1.327 GB, free: 312 kB / 1.014 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.0006503/0.3778, allocations: 322 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3778, allocations: 12.03 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.3779, allocations: 34.75 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3779, allocations: 12.83 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3781, allocations: 126.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3781, allocations: 8.375 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3781, allocations: 12.12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.3784, allocations: 105.5 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3784, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3784, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3785, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.3788, allocations: 95.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.3793, allocations: 295.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.38, allocations: 110.6 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.3802, allocations: 60.8 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3802, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3802, allocations: 34.5 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.3802, allocations: 4 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006884/0.3809, allocations: 185.4 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3809, allocations: 51.41 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3811, allocations: 121.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3811, allocations: 25.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3811, allocations: 100.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3812, allocations: 23.84 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3812, allocations: 25.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3814, allocations: 314.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3816, allocations: 47.95 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3817, allocations: 43.95 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.3821, allocations: 104.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3821, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004049/0.3825, allocations: 134 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3825, allocations: 8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3825, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3825, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.3827, allocations: 27.97 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3827, allocations: 8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3828, allocations: 19.94 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3828, allocations: 7.984 kB / 1.329 GB, free: 13.67 MB / 1.029 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 9.613e-05/0.3829, allocations: 117.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3829, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.3834, allocations: 150 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3834, allocations: 3.938 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3834, allocations: 3.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3837, allocations: 164.6 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3837, allocations: 7.875 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3838, allocations: 27.97 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3838, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3838, allocations: 8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3838, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3838, allocations: 7.938 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.3843, allocations: 231.3 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.3843, allocations: 11.98 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3844, allocations: 7.984 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3845, allocations: 15.98 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3846, allocations: 23.91 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3846, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.809e-05/0.3847, allocations: 91.27 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002373/0.3849, allocations: 19.95 kB / 1.33 GB, free: 12.71 MB / 1.029 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.0008222/0.3857, allocations: 0.7709 MB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3861, allocations: 103.9 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3861, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3863, allocations: 63.88 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3867, allocations: 13.81 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3889, allocations: 1.526 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.389, allocations: 79.33 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.825e-05/0.389, allocations: 12 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3891, allocations: 27.42 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3891, allocations: 4 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4201, allocations: 3.357 MB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 4.5 kB / 1.336 GB, free: 6.777 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.52956674201414]