Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.0008054/0.0008054, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008047/0.0008047, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8698/0.8698, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.884e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001422/0.001451, allocations: 0.7602 MB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.002365, allocations: 0.8937 MB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.002412, allocations: 0 / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.002444, allocations: 3.938 kB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.002523, allocations: 11.88 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.002704, allocations: 51.81 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.002802, allocations: 83.77 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.002921, allocations: 15.98 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.003015, allocations: 51.89 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.003083, allocations: 39.88 kB / 0.9536 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.003113, allocations: 8 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.003124, allocations: 8 kB / 0.9536 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.00315, allocations: 15.98 kB / 0.9536 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.003182, allocations: 31.89 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.00331, allocations: 95.7 kB / 0.9538 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.003314, allocations: 4 kB / 0.9538 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003315, allocations: 0 / 0.9538 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.003321, allocations: 4 kB / 0.9538 GB, free: 0.8828 MB / 0.9011 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.0004594/0.00378, allocations: 314 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.003816, allocations: 8.031 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.003859, allocations: 8.891 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.003965, allocations: 129.5 kB / 0.9542 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.003982, allocations: 4.375 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.003997, allocations: 8.375 kB / 0.9542 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.004202, allocations: 102.8 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.004211, allocations: 7.875 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.004224, allocations: 4 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004229, allocations: 0 / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.004427, allocations: 95.84 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.004833, allocations: 280.4 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.005206, allocations: 118.5 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.005308, allocations: 52.81 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.00533, allocations: 0 / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00535, allocations: 38.55 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005351, allocations: 4 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.005747, allocations: 177.5 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.005782, allocations: 51.41 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.00586, allocations: 125.8 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.005873, allocations: 25.7 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.005918, allocations: 92.09 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.005944, allocations: 35.72 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.005981, allocations: 25.7 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.006059, allocations: 318.8 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.00616, allocations: 43.95 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.00625, allocations: 43.95 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.006449, allocations: 109.2 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006451, allocations: 0 / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000229/0.00668, allocations: 137.5 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006694, allocations: 15.92 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.0067, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006713, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.006807, allocations: 31.91 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006812, allocations: 0 / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.006866, allocations: 15.98 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.006874, allocations: 4 kB / 0.9561 GB, free: 14.33 MB / 0.9167 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,min1.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.0002105/0.007085, allocations: 117.8 kB / 0.9562 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.007105, allocations: 7.938 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.00739, allocations: 154 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007392, allocations: 0 / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007396, allocations: 0 / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007399, allocations: 0 / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.007517, allocations: 137.2 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007518, allocations: 0 / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.007589, allocations: 27.91 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007592, allocations: 4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.007601, allocations: 4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.007604, allocations: 3.984 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007605, allocations: 3.938 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.007863, allocations: 231.3 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.007876, allocations: 7.953 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.00789, allocations: 4 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.007956, allocations: 11.98 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.008021, allocations: 27.97 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.008026, allocations: 0 / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.008063, allocations: 95.27 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008063, allocations: 3.938 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001674/0.00823, allocations: 19.94 kB / 0.9569 GB, free: 13.42 MB / 0.9167 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 (min1.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 9.795e-05/0.008328, allocations: 95.23 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.008578, allocations: 107.9 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008579, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.008689, allocations: 63.88 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.00894, allocations: 19.25 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.009282, allocations: 195.1 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.009333, allocations: 79.33 kB / 0.9574 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.009384, allocations: 16.48 kB / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.61e-07/0.009385, allocations: 0 / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.001978/0.01136, allocations: 1.271 MB / 0.9587 GB, free: 11.54 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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: 6.357441825792193]