Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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 12.0.0-master/package.mo", uses=false) 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001881/0.001881, allocations: 189 kB / 16.25 MB, free: 6.152 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.64/1.64, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.202/3.202, allocations: 472.7 MB / 0.7449 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 60 kB / 0.9116 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4741, allocations: 159.9 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.003215/0.4774, allocations: 0.8421 MB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.4788, allocations: 0.8701 MB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.4789, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.4789, allocations: 3.938 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.4791, allocations: 7.938 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.4793, allocations: 31.95 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.4796, allocations: 87.77 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.4798, allocations: 27.98 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.4799, allocations: 35.89 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.48, allocations: 43.83 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.48, allocations: 8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.4801, allocations: 8 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.4801, allocations: 27.91 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.4802, allocations: 43.73 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.4804, allocations: 83.72 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4804, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.756e-06/0.4804, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4804, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 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.0008597/0.4813, allocations: 395.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4813, allocations: 8.031 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.4814, allocations: 8.844 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.4816, allocations: 180.2 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.4817, allocations: 8.375 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4817, allocations: 4.375 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.4821, allocations: 109.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4821, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.4821, allocations: 7.938 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4821, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.4827, allocations: 95.91 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.4835, allocations: 344.6 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.4842, allocations: 122.5 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4844, allocations: 52.81 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.4844, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4844, allocations: 34.5 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4844, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006666/0.4851, allocations: 197.3 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4852, allocations: 51.41 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.4853, allocations: 117.8 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4853, allocations: 29.7 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.4854, allocations: 100 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.4855, allocations: 19.75 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.4855, allocations: 21.7 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4857, allocations: 326.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4859, allocations: 43.95 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4861, allocations: 47.95 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4864, allocations: 92.78 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4864, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000443/0.4869, allocations: 145.4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4869, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4869, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.487, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4871, allocations: 31.97 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4872, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.4873, allocations: 23.91 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.4873, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 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.0001195/0.4874, allocations: 119.4 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.4875, allocations: 7.906 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.488, allocations: 145.9 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.488, allocations: 3.984 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.488, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.488, allocations: 7.938 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.4883, allocations: 201.5 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4883, allocations: 3.938 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4885, allocations: 23.97 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4885, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4885, allocations: 11.98 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4885, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4885, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.489, allocations: 239.9 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.4891, allocations: 85.02 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4891, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4893, allocations: 15.98 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.4894, allocations: 19.97 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4894, allocations: 7.938 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.4895, allocations: 95.27 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4895, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002431/0.4897, allocations: 16 kB / 1.073 GB, free: 4.652 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 (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 0.0001882/0.4899, allocations: 107.2 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.4904, allocations: 107.9 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4904, allocations: 4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.4906, allocations: 59.94 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.491, allocations: 8 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.4916, allocations: 206.1 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.4919, allocations: 0.6885 MB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.724e-05/0.492, allocations: 15.94 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.492, allocations: 19.42 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4921, allocations: 0 / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.00476/0.4968, allocations: 1.419 MB / 1.076 GB, free: 1.973 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches