Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001794/0.001794, allocations: 110.2 kB / 17.08 MB, free: 6.012 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.002164/0.002164, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.196/3.196, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002048, allocations: 63.91 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0019/1.015, allocations: 0.7892 MB / 1.263 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001005/1.016, allocations: 0.8561 MB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/1.016, allocations: 1.656 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/1.016, allocations: 9.172 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/1.016, allocations: 14.77 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/1.016, allocations: 38.39 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/1.016, allocations: 91.19 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/1.016, allocations: 21.91 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/1.016, allocations: 40.64 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/1.017, allocations: 44.58 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/1.017, allocations: 8.344 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/1.017, allocations: 7.719 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/1.017, allocations: 28.23 kB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/1.017, allocations: 35.25 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/1.017, allocations: 90.12 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.017, allocations: 0.5625 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.856e-06/1.017, allocations: 0.7812 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.017, allocations: 3.938 kB / 1.265 GB, free: 6.641 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.0006067/1.017, allocations: 395 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.018, allocations: 13.22 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/1.018, allocations: 9.906 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.018, allocations: 178.7 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/1.018, allocations: 3.25 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/1.018, allocations: 7.875 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/1.018, allocations: 105.6 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.018, allocations: 0.7969 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/1.018, allocations: 0.9062 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.018, allocations: 9.469 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/1.019, allocations: 101.3 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/1.019, allocations: 340.2 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/1.02, allocations: 126.8 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/1.02, allocations: 56.11 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.02, allocations: 4.609 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/1.02, allocations: 32.77 kB / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.02, allocations: 0 / 1.266 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007048/1.021, allocations: 183.3 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/1.021, allocations: 52.34 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/1.021, allocations: 127.1 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/1.021, allocations: 26.81 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/1.021, allocations: 100.7 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/1.021, allocations: 16.94 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/1.021, allocations: 27.08 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/1.021, allocations: 314.9 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.021, allocations: 48.55 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/1.021, allocations: 48.98 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/1.022, allocations: 96.14 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.022, allocations: 0.8438 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004429/1.022, allocations: 142.2 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.022, allocations: 5.656 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.022, allocations: 4 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.022, allocations: 1.172 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/1.023, allocations: 24.53 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.023, allocations: 0 / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/1.023, allocations: 25.33 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/1.023, allocations: 2.406 kB / 1.267 GB, free: 4.688 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,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 6.764e-05/1.023, allocations: 121.5 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/1.023, allocations: 12.22 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/1.023, allocations: 150.2 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.023, allocations: 0.5938 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.023, allocations: 0.9062 kB / 1.267 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.023, allocations: 4.641 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.024, allocations: 198.3 kB / 1.268 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.024, allocations: 4.609 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.024, allocations: 25.06 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.024, allocations: 0 / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.024, allocations: 6.016 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.024, allocations: 0.75 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.024, allocations: 0.6094 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/1.024, allocations: 247.9 kB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/1.024, allocations: 87.89 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.024, allocations: 2.047 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/1.024, allocations: 10.62 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/1.025, allocations: 25.05 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/1.025, allocations: 7.516 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.752e-05/1.025, allocations: 97.67 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.393e-06/1.025, allocations: 0 / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002364/1.025, allocations: 16.31 kB / 1.268 GB, free: 3.895 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 (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.0001177/1.025, allocations: 103.3 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004888/1.025, allocations: 104.2 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.026, allocations: 4.781 kB / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/1.026, allocations: 61.59 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/1.026, allocations: 10.89 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/1.026, allocations: 200.2 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.027, allocations: 0.6898 MB / 1.269 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/1.027, allocations: 24.89 kB / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/1.027, allocations: 0 / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.003672/1.03, allocations: 1.248 MB / 1.27 GB, free: 2.785 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.722054834011942]