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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_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.00104/0.00104, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0107/0.0107, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.614/1.614, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.959/2.959, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004964, allocations: 10.66 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4173, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001232/0.4186, allocations: 0.4914 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.4199, allocations: 0.8663 MB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.42, allocations: 0 / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.4201, allocations: 7.875 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.4202, allocations: 3.938 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.4205, allocations: 39.95 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.4206, allocations: 83.73 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4208, allocations: 27.91 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4209, allocations: 27.86 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.421, allocations: 43.81 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.421, allocations: 8 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.4211, allocations: 4 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.4211, allocations: 15.92 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.4212, allocations: 53.5 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.4213, allocations: 79.7 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4214, allocations: 3.938 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4214, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4214, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 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.0007438/0.4221, allocations: 392.9 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4222, allocations: 8.031 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.4222, allocations: 8.844 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4224, allocations: 184.2 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4224, allocations: 384 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4225, allocations: 8.375 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.4228, allocations: 125.7 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4229, allocations: 7.984 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4229, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4229, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.4233, allocations: 127.8 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.424, allocations: 332.7 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.4247, allocations: 138.5 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.4249, allocations: 60.81 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.4249, allocations: 7.984 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.425, allocations: 38.55 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.425, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007536/0.4257, allocations: 217.5 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.4258, allocations: 51.41 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4259, allocations: 125.8 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4259, allocations: 33.64 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.426, allocations: 99.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.426, allocations: 19.64 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.4261, allocations: 17.72 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4262, allocations: 322.8 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.4264, allocations: 59.95 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4266, allocations: 51.95 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.427, allocations: 124.8 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.427, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004706/0.4275, allocations: 149.6 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4275, allocations: 8 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4276, allocations: 4 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4276, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.4278, allocations: 39.91 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4278, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.4279, allocations: 23.83 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4279, allocations: 11.98 kB / 1.063 GB, free: 0.7422 MB / 0.8106 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.0001062/0.4281, allocations: 115.4 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4281, allocations: 4 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.4286, allocations: 169.9 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4286, allocations: 3.938 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4287, allocations: 0 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4287, allocations: 7.922 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4289, allocations: 205.5 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4289, allocations: 4 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.4291, allocations: 31.97 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4291, allocations: 0 / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4291, allocations: 7.984 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4291, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4291, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.4297, allocations: 255.3 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.4297, allocations: 81.11 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.4298, allocations: 8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4299, allocations: 15.98 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.43, allocations: 23.84 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.43, allocations: 11.92 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.4301, allocations: 91.28 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4301, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002495/0.4304, allocations: 19.91 kB / 1.064 GB, free: 15.61 MB / 0.8262 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.0001598/0.4305, allocations: 103.2 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.431, allocations: 128.6 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.431, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.4313, allocations: 79.88 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4317, allocations: 11.88 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.4322, allocations: 189.3 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4324, allocations: 0.6926 MB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.58e-05/0.4325, allocations: 12 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.4326, allocations: 19.42 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.4326, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.003966/0.4366, allocations: 1.337 MB / 1.067 GB, free: 12.99 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches