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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 88.72 kB / 19.44 MB, free: 360 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002682/0.002682, allocations: 161.7 kB / 22.76 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.229/3.229, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.576e-06/3.576e-06, allocations: 0 / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.612e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.003067/0.003103, allocations: 0.7656 MB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.004444, allocations: 0.8885 MB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.004501, allocations: 0 / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.004541, allocations: 7.875 kB / 0.8792 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.004655, allocations: 16.86 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.004857, allocations: 47.81 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.004993, allocations: 83.83 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005103, allocations: 15.97 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.00523, allocations: 47.91 kB / 0.8794 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.005325, allocations: 43.88 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.005354, allocations: 8.938 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.005373, allocations: 8 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.005406, allocations: 19.91 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.005451, allocations: 25.05 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005642, allocations: 95.7 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.005648, allocations: 4 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005649, allocations: 1.594 kB / 0.8796 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005652, allocations: 3.938 kB / 0.8796 GB, free: 4.387 MB / 0.8386 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.0006907/0.006343, allocations: 319.7 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.006382, allocations: 8.031 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.006448, allocations: 16.89 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.006618, allocations: 113.7 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.006638, allocations: 4.375 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.00666, allocations: 11.16 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.007013, allocations: 110.2 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.007029, allocations: 3.938 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.007044, allocations: 0 / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.007048, allocations: 0 / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.00748, allocations: 102.2 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.008033, allocations: 268.3 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.008716, allocations: 115.8 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.008935, allocations: 60.88 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.008959, allocations: 0 / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.008989, allocations: 38.55 kB / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.00899, allocations: 0 / 0.8808 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007741/0.009764, allocations: 185.4 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.009814, allocations: 55.41 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.009949, allocations: 125.8 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.009974, allocations: 25.7 kB / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.01005, allocations: 96.03 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.01009, allocations: 27.78 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.01015, allocations: 17.72 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01033, allocations: 326.8 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.01055, allocations: 43.95 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.01074, allocations: 47.95 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.01112, allocations: 96.77 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01112, allocations: 0 / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004825/0.0116, allocations: 141.5 kB / 0.8819 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01162, allocations: 8 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01163, allocations: 0.5469 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.01165, allocations: 3.984 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.01183, allocations: 23.97 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.01184, allocations: 0 / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01197, allocations: 15.94 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01198, allocations: 4 kB / 0.8819 GB, free: 1.855 MB / 0.8386 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.0001294/0.01211, allocations: 117.8 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.01215, allocations: 12 kB / 0.8821 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.01271, allocations: 157.9 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01271, allocations: 4 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01272, allocations: 4 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01272, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.01294, allocations: 137.2 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01294, allocations: 4 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01312, allocations: 23.97 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01312, allocations: 0 / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01313, allocations: 0 / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01313, allocations: 0 / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.01314, allocations: 3.984 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.01369, allocations: 239.3 kB / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.01371, allocations: 15.92 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01373, allocations: 0 / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01389, allocations: 11.98 kB / 0.8826 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.01398, allocations: 27.89 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01399, allocations: 4 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.872e-05/0.01407, allocations: 99.64 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01407, allocations: 0 / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000264/0.01433, allocations: 15.95 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 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.0001392/0.01447, allocations: 99.25 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.01494, allocations: 103.9 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01494, allocations: 3.938 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.01518, allocations: 63.92 kB / 0.883 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.01552, allocations: 20.45 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.01604, allocations: 169.2 kB / 0.8832 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01615, allocations: 79.19 kB / 0.8833 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.01622, allocations: 12 kB / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.01631, allocations: 24.48 kB / 0.8833 GB, free: 316 kB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.01631, allocations: 0 / 0.8833 GB, free: 316 kB / 0.8386 GB Notification: Performance of Templates: time 0.005302/0.02161, allocations: 1.717 MB / 0.885 GB, free: 14.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.394301281077787]