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.001952/0.001952, allocations: 108 kB / 15.61 MB, free: 152 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.002705/0.002705, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.571/1.571, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 472.6 MB / 0.7451 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 68.5 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4156, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002337/0.418, allocations: 0.7769 MB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.419, allocations: 0.8702 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.4191, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.4191, allocations: 7.875 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.4192, allocations: 11.86 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.4194, allocations: 39.95 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.4196, allocations: 83.83 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4197, allocations: 31.97 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.4198, allocations: 35.86 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.4199, allocations: 47.81 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4199, allocations: 8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.42, allocations: 8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.42, allocations: 23.91 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.42, allocations: 31.8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.4202, allocations: 87.7 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4202, allocations: 0 / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4202, allocations: 8 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4202, allocations: 0 / 1.07 GB, free: 8.34 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.0006457/0.4209, allocations: 391.5 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4209, allocations: 8.031 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.421, allocations: 8.844 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4211, allocations: 180.2 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4211, allocations: 4.375 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.4212, allocations: 8.375 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.4215, allocations: 105.7 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4215, allocations: 4 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4215, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.4215, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.4219, allocations: 99.83 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.4224, allocations: 344.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.4231, allocations: 130.5 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.4233, allocations: 48.81 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4233, allocations: 0 / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4233, allocations: 42.56 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.4234, allocations: 0 / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006771/0.424, allocations: 177.5 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4241, allocations: 59.39 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4242, allocations: 121.8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4242, allocations: 25.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.4243, allocations: 96.03 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4243, allocations: 19.69 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.4244, allocations: 29.7 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4245, allocations: 326.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.4247, allocations: 43.95 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.4249, allocations: 52.23 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.4253, allocations: 100.8 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4253, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004084/0.4257, allocations: 137.5 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4257, allocations: 4 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4257, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4257, allocations: 0 / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.4259, allocations: 31.91 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4259, allocations: 0 / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4261, allocations: 15.92 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4261, allocations: 7.984 kB / 1.073 GB, free: 5.547 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.0001025/0.4262, allocations: 114.4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.4262, allocations: 3.906 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.4267, allocations: 157.9 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4267, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4267, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4267, allocations: 11.86 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.427, allocations: 205.5 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.427, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.4271, allocations: 27.97 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4271, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4272, allocations: 3.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4272, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4272, allocations: 3.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.4277, allocations: 235.4 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.4278, allocations: 81.02 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.4278, allocations: 0 / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4279, allocations: 11.98 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.428, allocations: 23.97 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4281, allocations: 11.88 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.4281, allocations: 91.27 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002257/0.4284, allocations: 16 kB / 1.074 GB, free: 4.465 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.0001395/0.4285, allocations: 103.2 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.429, allocations: 116 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.429, allocations: 0 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4292, allocations: 71.88 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4295, allocations: 14.42 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.43, allocations: 170.7 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4302, allocations: 0.6924 MB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.4303, allocations: 15.98 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.4304, allocations: 19.42 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4304, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.004092/0.4345, allocations: 1.573 MB / 1.076 GB, free: 1.648 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