Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_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_9_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.002152/0.002152, allocations: 106.7 kB / 16.35 MB, free: 5.824 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.002514/0.002514, allocations: 191 kB / 17.29 MB, free: 5.48 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 61 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3792, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00263/0.3819, allocations: 0.7728 MB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3832, allocations: 0.8722 MB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.3833, allocations: 4 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.14e-05/0.3834, allocations: 7.875 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3836, allocations: 7.875 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3838, allocations: 43.94 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.384, allocations: 91.7 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3841, allocations: 27.98 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3843, allocations: 39.83 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3844, allocations: 47.83 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3844, allocations: 8 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3844, allocations: 8 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.3845, allocations: 19.97 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.3845, allocations: 35.8 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3847, allocations: 87.66 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3847, allocations: 0 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.809e-06/0.3847, allocations: 0 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3847, allocations: 3.938 kB / 0.9532 GB, free: 5.934 MB / 0.7325 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.0007131/0.3854, allocations: 399.1 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3855, allocations: 8.031 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.3856, allocations: 8.844 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3857, allocations: 172.2 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3858, allocations: 8.375 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3858, allocations: 8.359 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.3861, allocations: 109.7 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3862, allocations: 0 / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3862, allocations: 4 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3862, allocations: 0 / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.3865, allocations: 95.84 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.3871, allocations: 348.6 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.3878, allocations: 118.5 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.388, allocations: 52.81 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.388, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.388, allocations: 34.56 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.388, allocations: 0 / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006407/0.3887, allocations: 185.4 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3887, allocations: 59.34 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3889, allocations: 129.7 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3889, allocations: 25.7 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.389, allocations: 99.98 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.389, allocations: 15.75 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3891, allocations: 25.7 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3892, allocations: 322.8 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3894, allocations: 47.95 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3896, allocations: 47.95 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.3899, allocations: 96.77 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3899, allocations: 0 / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003957/0.3903, allocations: 145.4 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3903, allocations: 7.938 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3903, allocations: 4 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3904, allocations: 0 / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3905, allocations: 23.97 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3905, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3907, allocations: 23.91 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3907, allocations: 4 kB / 0.9557 GB, free: 3.129 MB / 0.7325 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.0001249/0.3908, allocations: 115.8 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.3909, allocations: 3.906 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.3913, allocations: 154.4 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3913, allocations: 4 kB / 0.9559 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3913, allocations: 3.984 kB / 0.9559 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3913, allocations: 3.938 kB / 0.9559 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3916, allocations: 209.5 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3916, allocations: 0 / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3917, allocations: 23.97 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3918, allocations: 0 / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3918, allocations: 0 / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3918, allocations: 4 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3918, allocations: 0 / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3922, allocations: 243.3 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3923, allocations: 88.95 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3923, allocations: 4 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3925, allocations: 11.97 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.3926, allocations: 23.98 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.3926, allocations: 7.938 kB / 0.9565 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.3926, allocations: 91.27 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3927, allocations: 0 / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002467/0.3929, allocations: 16 kB / 0.9566 GB, free: 2.043 MB / 0.7325 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.0001414/0.3931, allocations: 106 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.3935, allocations: 107.9 kB / 0.9568 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3935, allocations: 0 / 0.9568 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3937, allocations: 67.88 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.394, allocations: 4 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.3945, allocations: 178.4 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3948, allocations: 0.6922 MB / 0.9578 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.453e-05/0.3949, allocations: 12 kB / 0.9578 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.3949, allocations: 23.42 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.3949, allocations: 0 / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.004397/0.3993, allocations: 1.581 MB / 0.9593 GB, free: 15.22 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches