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.001202/0.001202, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001125/0.001125, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.425/1.425, 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 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.53 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00208/0.282, allocations: 0.7728 MB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.283, allocations: 0.8761 MB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.283, allocations: 4 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.2831, allocations: 3.938 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.2831, allocations: 7.875 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2833, allocations: 47.88 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2834, allocations: 75.89 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2836, allocations: 27.98 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.2836, allocations: 39.83 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.2837, allocations: 55.77 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.2838, allocations: 8 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.2838, allocations: 8 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.2838, allocations: 19.91 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.2839, allocations: 35.8 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.284, allocations: 79.72 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.284, allocations: 8 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.284, allocations: 0 / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.284, allocations: 0 / 0.9532 GB, free: 5.961 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.0006101/0.2846, allocations: 395.1 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2847, allocations: 12.03 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2847, allocations: 8.844 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2849, allocations: 180.1 kB / 0.9537 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2849, allocations: 8.375 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2849, allocations: 12.36 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2852, allocations: 101.7 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2852, allocations: 0 / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.2852, allocations: 8 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2853, allocations: 3.938 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2856, allocations: 95.91 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.2862, allocations: 344.6 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.2869, allocations: 114.6 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2871, allocations: 64.75 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2871, allocations: 0 / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2871, allocations: 34.5 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2871, allocations: 0 / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006587/0.2878, allocations: 189.4 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2879, allocations: 51.41 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.288, allocations: 121.8 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.288, allocations: 25.7 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.288, allocations: 99.98 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2881, allocations: 19.75 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.2881, allocations: 21.7 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2882, allocations: 330.8 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2884, allocations: 43.95 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.2886, allocations: 43.95 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.2889, allocations: 104.7 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.289, allocations: 4 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003791/0.2893, allocations: 133.5 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2894, allocations: 10.19 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2894, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2894, allocations: 0 / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2896, allocations: 27.97 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2896, allocations: 4.547 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2897, allocations: 19.91 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2897, allocations: 0 / 0.9557 GB, free: 3.16 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 9.058e-05/0.2898, allocations: 119.8 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.2899, allocations: 15.83 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.2903, allocations: 153.9 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2903, allocations: 4 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2903, allocations: 0 / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2904, allocations: 3.938 kB / 0.956 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2906, allocations: 197.5 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2906, allocations: 4 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2907, allocations: 31.91 kB / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2907, allocations: 0 / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2908, allocations: 4 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2908, allocations: 0 / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2908, allocations: 0 / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.2912, allocations: 235.3 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.2912, allocations: 85.02 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2913, allocations: 8 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2914, allocations: 15.97 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.2915, allocations: 19.98 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2915, allocations: 7.875 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.2916, allocations: 95.27 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2916, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002367/0.2918, allocations: 16 kB / 0.9566 GB, free: 2.066 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.0001342/0.292, allocations: 111.2 kB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.2924, allocations: 99.91 kB / 0.9568 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2924, allocations: 4 kB / 0.9568 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2926, allocations: 59.88 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.293, allocations: 12 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.2934, allocations: 174.4 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2937, allocations: 0.6922 MB / 0.9578 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.357e-05/0.2937, allocations: 12 kB / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2938, allocations: 19.42 kB / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2938, allocations: 0 / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of Templates: time 0.003987/0.2978, allocations: 1.583 MB / 0.9593 GB, free: 15.25 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 gbode -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