Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002365, allocations: 183 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6939, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0008863/0.6949, allocations: 0.4911 MB / 0.9562 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.6957, allocations: 0.8565 MB / 0.957 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.6958, allocations: 4.969 kB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.6958, allocations: 5.094 kB / 0.957 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.6959, allocations: 7.922 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.696, allocations: 39.98 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6962, allocations: 73.41 kB / 0.9572 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.6963, allocations: 30.19 kB / 0.9572 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.6964, allocations: 35.34 kB / 0.9572 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.6964, allocations: 41 kB / 0.9573 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.6965, allocations: 8.172 kB / 0.9573 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.6965, allocations: 2.719 kB / 0.9573 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.6965, allocations: 10.36 kB / 0.9573 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.6966, allocations: 59.86 kB / 0.9573 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.6967, allocations: 59.58 kB / 0.9574 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6967, allocations: 0 / 0.9574 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6967, allocations: 1 kB / 0.9574 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.6967, allocations: 0 / 0.9574 GB, free: 6.332 MB / 0.7169 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.0005076/0.6972, allocations: 388.9 kB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6973, allocations: 9.375 kB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.6973, allocations: 8.938 kB / 0.9578 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.6974, allocations: 172.8 kB / 0.958 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6974, allocations: 15.66 kB / 0.958 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.6975, allocations: 3.438 kB / 0.958 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.6978, allocations: 118.4 kB / 0.9581 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6978, allocations: 1.219 kB / 0.9581 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6978, allocations: 4 kB / 0.9581 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6978, allocations: 10.33 kB / 0.9581 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.6983, allocations: 115.3 kB / 0.9582 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.6987, allocations: 354 kB / 0.9585 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.6993, allocations: 128.2 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.6995, allocations: 69.25 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.6996, allocations: 1 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6996, allocations: 35.7 kB / 0.9588 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.6996, allocations: 0 / 0.9588 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000697/0.7003, allocations: 225.7 kB / 0.959 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.7003, allocations: 52.66 kB / 0.959 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.7004, allocations: 118 kB / 0.9591 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.7004, allocations: 29.7 kB / 0.9592 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.7005, allocations: 98.98 kB / 0.9593 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7005, allocations: 18.84 kB / 0.9593 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.7005, allocations: 12.59 kB / 0.9593 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.7006, allocations: 324.2 kB / 0.9596 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.7008, allocations: 57.39 kB / 0.9597 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.701, allocations: 59.33 kB / 0.9597 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.7013, allocations: 128.8 kB / 0.9598 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7014, allocations: 1.781 kB / 0.9598 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004025/0.7018, allocations: 155.1 kB / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7018, allocations: 5.5 kB / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7018, allocations: 0 / 0.96 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7018, allocations: 3.938 kB / 0.96 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.702, allocations: 33.95 kB / 0.96 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.702, allocations: 4 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.7021, allocations: 28.23 kB / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7021, allocations: 1.375 kB / 0.9601 GB, free: 4.078 MB / 0.7169 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.396e-05/0.7022, allocations: 121.9 kB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.7022, allocations: 6.656 kB / 0.9602 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.7027, allocations: 174.9 kB / 0.9604 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7027, allocations: 5.375 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7027, allocations: 1.375 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7028, allocations: 3.938 kB / 0.9604 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.7029, allocations: 195.5 kB / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7029, allocations: 0 / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.7031, allocations: 29.97 kB / 0.9606 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7031, allocations: 0 / 0.9606 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.7031, allocations: 1.375 kB / 0.9606 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7031, allocations: 3.938 kB / 0.9606 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7031, allocations: 5.375 kB / 0.9606 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.7036, allocations: 267.2 kB / 0.9608 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.7036, allocations: 83.02 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.7036, allocations: 0 / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.7038, allocations: 20 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.7038, allocations: 22.31 kB / 0.961 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.7039, allocations: 10.25 kB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.7039, allocations: 94.11 kB / 0.9611 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7039, allocations: 0 / 0.9611 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002326/0.7041, allocations: 20 kB / 0.9611 GB, free: 3.184 MB / 0.7169 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.0001104/0.7043, allocations: 95.81 kB / 0.9612 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.7047, allocations: 133.5 kB / 0.9613 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7047, allocations: 0 / 0.9613 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.7049, allocations: 66.55 kB / 0.9614 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.7052, allocations: 11.3 kB / 0.9614 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.7057, allocations: 232.1 kB / 0.9616 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.7058, allocations: 0.6906 MB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.7059, allocations: 16.92 kB / 0.9623 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7059, allocations: 0 / 0.9623 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.002709/0.7086, allocations: 1.222 MB / 0.9635 GB, free: 1.457 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches