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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001274/0.001274, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001156/0.001157, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 65.94 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4014, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002878/0.4043, allocations: 0.7909 MB / 1.028 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4058, allocations: 0.8585 MB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.4059, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.4059, allocations: 7.875 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.406, allocations: 19.86 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.4063, allocations: 35.95 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4064, allocations: 91.75 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.4066, allocations: 16 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4067, allocations: 43.89 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4068, allocations: 43.83 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.4069, allocations: 12 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.4069, allocations: 8 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.407, allocations: 23.91 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.407, allocations: 39.78 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.4072, allocations: 87.67 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4072, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4073, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4073, allocations: 0 / 1.029 GB, free: 15.95 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.0007936/0.4081, allocations: 395.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4081, allocations: 8.031 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4082, allocations: 8.844 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.4084, allocations: 176.2 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4084, allocations: 8.375 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.4084, allocations: 4.375 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.4089, allocations: 109.7 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4089, allocations: 3.938 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4089, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4089, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.4095, allocations: 103.9 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.4102, allocations: 336.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.4111, allocations: 126.5 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.4113, allocations: 52.81 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.4114, allocations: 3.984 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4114, allocations: 34.56 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4114, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0009234/0.4124, allocations: 181.4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4124, allocations: 55.41 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4126, allocations: 125.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4126, allocations: 29.7 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.4127, allocations: 100 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.4127, allocations: 11.75 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.4128, allocations: 33.64 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4129, allocations: 314.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.4132, allocations: 43.95 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.4135, allocations: 55.95 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.414, allocations: 96.77 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.414, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006129/0.4146, allocations: 149.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4147, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4147, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4147, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.4149, allocations: 23.97 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4149, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4151, allocations: 19.92 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4151, allocations: 4 kB / 1.031 GB, free: 13.15 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 9.724e-05/0.4152, allocations: 125.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.4152, allocations: 3.906 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.4157, allocations: 154.4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4157, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4157, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4157, allocations: 7.938 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4159, allocations: 205.5 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4159, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4161, allocations: 23.97 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4161, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4161, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4161, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4161, allocations: 7.922 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.4166, allocations: 243.3 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.4167, allocations: 85 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4167, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4168, allocations: 15.98 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.4169, allocations: 19.97 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4169, allocations: 11.94 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.417, allocations: 99.2 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.417, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002452/0.4173, allocations: 12 kB / 1.032 GB, free: 12.05 MB / 0.8106 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.0001401/0.4174, allocations: 103.2 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.4178, allocations: 111.8 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4178, allocations: 0 / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.418, allocations: 59.95 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.4184, allocations: 15.98 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.4188, allocations: 166.2 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4191, allocations: 0.6962 MB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.987e-05/0.4192, allocations: 15.92 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.4192, allocations: 23.44 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4192, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.004135/0.4234, allocations: 1.57 MB / 1.035 GB, free: 9.246 MB / 0.8106 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 -s cvode -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/jenkins1/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