Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001762/0.001762, allocations: 106 kB / 16.27 MB, free: 6.41 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.002037/0.002037, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 64.59 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2803, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001629/0.2819, allocations: 0.7771 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.2827, allocations: 0.8701 MB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.2828, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.2828, allocations: 7.875 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.2829, allocations: 15.86 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.367e-05/0.283, allocations: 35.94 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.2831, allocations: 83.75 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.2831, allocations: 35.95 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.2832, allocations: 39.84 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.2832, allocations: 47.81 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2833, allocations: 8 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.2833, allocations: 8 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2833, allocations: 19.92 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2833, allocations: 35.8 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.075e-05/0.2834, allocations: 91.7 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.2834, allocations: 4 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2834, allocations: 0 / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.2835, allocations: 0 / 1.02 GB, free: 8.527 MB / 0.795 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.0004473/0.2839, allocations: 395.5 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.038e-05/0.2839, allocations: 8.922 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.284, allocations: 8.844 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.2841, allocations: 180.2 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2841, allocations: 4.375 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2841, allocations: 12.38 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.2844, allocations: 105.7 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-06/0.2844, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2844, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-06/0.2844, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.2847, allocations: 103.8 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.2851, allocations: 336.7 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.2857, allocations: 134.5 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2859, allocations: 54.34 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2859, allocations: 7.984 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.2859, allocations: 30.56 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2859, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005872/0.2865, allocations: 185.5 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.2865, allocations: 51.41 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.2866, allocations: 122.2 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2866, allocations: 33.58 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.2867, allocations: 96.05 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2867, allocations: 23.73 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2868, allocations: 17.72 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2868, allocations: 326.8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.287, allocations: 43.95 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2872, allocations: 43.95 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.2875, allocations: 104.8 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2875, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003862/0.2879, allocations: 134 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.2879, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.2879, allocations: 80 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.288, allocations: 7.984 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2881, allocations: 27.91 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2881, allocations: 7.984 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2882, allocations: 11.92 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2883, allocations: 8 kB / 1.022 GB, free: 5.73 MB / 0.795 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 6.419e-05/0.2883, allocations: 113.8 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2884, allocations: 7.906 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.2888, allocations: 149.9 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2888, allocations: 3.938 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2888, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2888, allocations: 11.94 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.289, allocations: 201.5 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.289, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2891, allocations: 27.97 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2892, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2892, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2892, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2892, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.2896, allocations: 239.3 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.2896, allocations: 81.02 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2897, allocations: 7.938 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2898, allocations: 11.97 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2899, allocations: 27.86 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2899, allocations: 11.92 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.2899, allocations: 99.31 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2899, allocations: 0 / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002116/0.2902, allocations: 16 kB / 1.023 GB, free: 4.633 MB / 0.795 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 9.206e-05/0.2903, allocations: 103.2 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.2907, allocations: 99.89 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2907, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2909, allocations: 71.88 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2911, allocations: 10.66 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2914, allocations: 196.7 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2916, allocations: 0.6924 MB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2917, allocations: 19.42 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.2917, allocations: 0 / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of Templates: time 0.001993/0.2937, allocations: 1.233 MB / 1.026 GB, free: 2.152 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches