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.001896/0.001896, allocations: 109.1 kB / 16.46 MB, free: 6.035 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.002023/0.002023, allocations: 192.5 kB / 19.41 MB, free: 3.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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.621/2.621, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 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.001959/0.001959, allocations: 63.89 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8953, allocations: 160.7 MB / 1.213 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002086/0.8974, allocations: 0.7886 MB / 1.214 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.8986, allocations: 0.8683 MB / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.8986, allocations: 1.094 kB / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.8986, allocations: 9.078 kB / 1.215 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.8987, allocations: 9 kB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.8989, allocations: 42.53 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.899, allocations: 86.61 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.8992, allocations: 23.27 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.8993, allocations: 41.42 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.721e-05/0.8994, allocations: 48.89 kB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.8994, allocations: 11.47 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.8994, allocations: 8.5 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.8994, allocations: 22.16 kB / 1.215 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.8995, allocations: 30.61 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.8996, allocations: 94.3 kB / 1.215 GB, free: 2.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8996, allocations: 4 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8996, allocations: 0 / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8997, allocations: 0 / 1.215 GB, free: 2.312 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.0006688/0.9003, allocations: 395.4 kB / 1.215 GB, free: 1.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9004, allocations: 10.19 kB / 1.215 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.9004, allocations: 36.72 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.9004, allocations: 9.141 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.9006, allocations: 184.4 kB / 1.216 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.9006, allocations: 7.5 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.9007, allocations: 7.344 kB / 1.216 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.901, allocations: 108.1 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.901, allocations: 0 / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.901, allocations: 5.125 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.901, allocations: 1.094 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.9014, allocations: 95.7 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.9019, allocations: 346.4 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.9025, allocations: 111.5 kB / 1.216 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.9027, allocations: 53.78 kB / 1.216 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.9028, allocations: 13.7 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9028, allocations: 35.64 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9028, allocations: 3.938 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006595/0.9035, allocations: 184.5 kB / 1.216 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.9035, allocations: 52.75 kB / 1.217 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.9036, allocations: 129.3 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.9036, allocations: 25.7 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.9037, allocations: 95.34 kB / 1.217 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.9038, allocations: 19.12 kB / 1.217 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.9038, allocations: 23.95 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.904, allocations: 315.9 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.9041, allocations: 48.23 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.9043, allocations: 48.83 kB / 1.217 GB, free: 200 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.9046, allocations: 98.08 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9046, allocations: 0 / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003808/0.905, allocations: 140.2 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.905, allocations: 12.17 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.905, allocations: 1.219 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.905, allocations: 0 / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.9052, allocations: 23.75 kB / 1.217 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9052, allocations: 8.844 kB / 1.217 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.9053, allocations: 19.14 kB / 1.217 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.9053, allocations: 10.72 kB / 1.218 GB, free: 20 kB / 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 0.0001206/0.9055, allocations: 117.2 kB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.9055, allocations: 6.422 kB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.906, allocations: 152.3 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.906, allocations: 1.281 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.906, allocations: 3.938 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.906, allocations: 1.312 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.9062, allocations: 198.7 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9062, allocations: 1.344 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.9064, allocations: 31.31 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.9064, allocations: 0.7188 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.9064, allocations: 1.75 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9064, allocations: 4 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.9064, allocations: 5.109 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.9068, allocations: 234.8 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.9069, allocations: 83.28 kB / 1.218 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.9069, allocations: 5.109 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.9071, allocations: 14.55 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.9071, allocations: 23.52 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.9071, allocations: 6.484 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.9072, allocations: 96.64 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9072, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002358/0.9074, allocations: 16.28 kB / 1.218 GB, free: 15.14 MB / 0.9356 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.0008629/0.9083, allocations: 0.7727 MB / 1.219 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.9087, allocations: 112.7 kB / 1.219 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9087, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.9089, allocations: 54.14 kB / 1.219 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.9092, allocations: 14.06 kB / 1.219 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.9116, allocations: 1.541 MB / 1.221 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.912, allocations: 0.692 MB / 1.222 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.46e-05/0.9121, allocations: 15.11 kB / 1.222 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.9122, allocations: 34.11 kB / 1.222 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.9122, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.9377, allocations: 2.707 MB / 1.224 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/9.032, allocations: 4.359 kB / 1.224 GB, free: 10.79 MB / 0.9356 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: 14.918057561386377]